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

Argument for event CounterSampleReceiver.OnCounterDataReceived and message type for CounterSampleReceiver.Channel More...

Inheritance diagram for ExitGames.Diagnostics.Monitoring.CounterSamplesPackage:

Public Member Functions

 CounterSamplesPackage (EndPoint remoteEndPoint, string senderId, DateTime senderTime, DateTime receiveTime, CounterSampleCollection[] counterSamples)
 Initializes a new instance of the CounterSamplesPackage class. More...
 

Properties

CounterSampleCollection[] CounterSamples [get]
 Gets the received CounterSamples. More...
 
DateTime ReceiveTime [get]
 Gets the time when counters were received. More...
 
EndPoint RemoteEndPoint [get]
 Gets the remote end point. More...
 
string SenderId [get]
 Gets the sender's id. More...
 
DateTime SenderTime [get]
 Gets the send time. More...
 

Detailed Description

Argument for event CounterSampleReceiver.OnCounterDataReceived and message type for CounterSampleReceiver.Channel

Constructor & Destructor Documentation

ExitGames.Diagnostics.Monitoring.CounterSamplesPackage.CounterSamplesPackage ( EndPoint  remoteEndPoint,
string  senderId,
DateTime  senderTime,
DateTime  receiveTime,
CounterSampleCollection[]  counterSamples 
)
inline

Initializes a new instance of the CounterSamplesPackage class.

Parameters
remoteEndPointThe remote end point.
senderIdThe sender id.
senderTimeThe sender time.
receiveTimeThe receive time.
counterSamplesThe counter samples.

Property Documentation

CounterSampleCollection [] ExitGames.Diagnostics.Monitoring.CounterSamplesPackage.CounterSamples
get

Gets the received CounterSamples.

DateTime ExitGames.Diagnostics.Monitoring.CounterSamplesPackage.ReceiveTime
get

Gets the time when counters were received.

EndPoint ExitGames.Diagnostics.Monitoring.CounterSamplesPackage.RemoteEndPoint
get

Gets the remote end point.

string ExitGames.Diagnostics.Monitoring.CounterSamplesPackage.SenderId
get

Gets the sender's id.

DateTime ExitGames.Diagnostics.Monitoring.CounterSamplesPackage.SenderTime
get

Gets the send time.