Photon Server API
Public Member Functions | Static Public Member Functions | Properties | List of all members
ExitGames.Diagnostics.Monitoring.CounterSampleCollection Class Reference

A collectin of CounterSamples. More...

Inheritance diagram for ExitGames.Diagnostics.Monitoring.CounterSampleCollection:

Public Member Functions

 CounterSampleCollection (string name)
 Initializes a new instance of the CounterSampleCollection class. More...
 
void Serialize (Stream stream)
 Serializes the CounterSamples to a stream. More...
 
void Serialize (BinaryWriter binaryWriter)
 Serializes the CounterSamples to a stream with a BinaryWriter. More...
 

Static Public Member Functions

static CounterSampleCollection Deserialize (Stream stream)
 Deserializes a stream of CounterSamples. More...
 
static CounterSampleCollection Deserialize (BinaryReader binaryReader)
 Deserializes a stream of CounterSamples. More...
 

Properties

string CounterName [get]
 Gets the counter name. More...
 

Detailed Description

A collectin of CounterSamples.

Constructor & Destructor Documentation

ExitGames.Diagnostics.Monitoring.CounterSampleCollection.CounterSampleCollection ( string  name)
inline

Initializes a new instance of the CounterSampleCollection class.

Parameters
nameThe name.

Member Function Documentation

static CounterSampleCollection ExitGames.Diagnostics.Monitoring.CounterSampleCollection.Deserialize ( Stream  stream)
inlinestatic

Deserializes a stream of CounterSamples.

Parameters
streamThe stream.
Returns
A new CounterSampleCollection.
static CounterSampleCollection ExitGames.Diagnostics.Monitoring.CounterSampleCollection.Deserialize ( BinaryReader  binaryReader)
inlinestatic

Deserializes a stream of CounterSamples.

Parameters
binaryReaderThe reader wrapping a stream.
Returns
A new CounterSampleCollection.
void ExitGames.Diagnostics.Monitoring.CounterSampleCollection.Serialize ( Stream  stream)
inline

Serializes the CounterSamples to a stream.

Parameters
streamThe stream.
void ExitGames.Diagnostics.Monitoring.CounterSampleCollection.Serialize ( BinaryWriter  binaryWriter)
inline

Serializes the CounterSamples to a stream with a BinaryWriter.

Parameters
binaryWriterThe binary writer wrapping a stream.

Property Documentation

string ExitGames.Diagnostics.Monitoring.CounterSampleCollection.CounterName
get

Gets the counter name.