Photon Server API
Public Member Functions | Public Attributes | List of all members
ExitGames.Diagnostics.Monitoring.CounterSampleMessage Class Reference

A message used by the CounterSamplePublisher. More...

Public Member Functions

 CounterSampleMessage (string counterName, float value)
 Initializes a new instance of the CounterSampleMessage class. More...
 
 CounterSampleMessage (string counterName, DateTime timestamp, float value)
 Initializes a new instance of the CounterSampleMessage class. More...
 
 CounterSampleMessage (string counterName, CounterSample counterSample)
 Initializes a new instance of the CounterSampleMessage class. More...
 

Public Attributes

readonly string CounterName
 Gets the name of the counter. More...
 
readonly CounterSample CounterSample
 Gets the CounterSample. More...
 

Detailed Description

A message used by the CounterSamplePublisher.

Constructor & Destructor Documentation

ExitGames.Diagnostics.Monitoring.CounterSampleMessage.CounterSampleMessage ( string  counterName,
float  value 
)
inline

Initializes a new instance of the CounterSampleMessage class.

Parameters
counterNameThe name of the counter.
valueThe calculated value of the counter.
ExitGames.Diagnostics.Monitoring.CounterSampleMessage.CounterSampleMessage ( string  counterName,
DateTime  timestamp,
float  value 
)
inline

Initializes a new instance of the CounterSampleMessage class.

Parameters
counterNameThe name of the counter.
timestampThe timestamp when the value has been taken from the counter..
valueThe value.
ExitGames.Diagnostics.Monitoring.CounterSampleMessage.CounterSampleMessage ( string  counterName,
CounterSample  counterSample 
)
inline

Initializes a new instance of the CounterSampleMessage class.

Parameters
counterNameThe name of the counter.
counterSampleThe counter sample.

Member Data Documentation

readonly string ExitGames.Diagnostics.Monitoring.CounterSampleMessage.CounterName

Gets the name of the counter.

readonly CounterSample ExitGames.Diagnostics.Monitoring.CounterSampleMessage.CounterSample

Gets the CounterSample.