Photon Server API
Public Member Functions | Static Public Attributes | Properties | List of all members
Photon.SocketServer.ServerToServer.PingResponse Class Reference

The ping response. More...

Public Member Functions

 PingResponse (int clientTime, int serverTime)
 Initializes a new instance of the PingResponse class. More...
 
 PingResponse (byte[] buffer)
 Initializes a new instance of the PingResponse class. More...
 

Static Public Attributes

static readonly int SizeInBytes = 8
 The size in bytes. More...
 

Properties

int ClientTime [get]
 Gets ClientTime. More...
 
int ServerTime [get]
 Gets ServerTime. More...
 

Detailed Description

The ping response.

Constructor & Destructor Documentation

Photon.SocketServer.ServerToServer.PingResponse.PingResponse ( int  clientTime,
int  serverTime 
)
inline

Initializes a new instance of the PingResponse class.

Parameters
clientTimeThe client time.
serverTimeThe server time.
Photon.SocketServer.ServerToServer.PingResponse.PingResponse ( byte[]  buffer)
inline

Initializes a new instance of the PingResponse class.

Parameters
bufferThe buffer.

Member Data Documentation

readonly int Photon.SocketServer.ServerToServer.PingResponse.SizeInBytes = 8
static

The size in bytes.

Property Documentation

int Photon.SocketServer.ServerToServer.PingResponse.ClientTime
get

Gets ClientTime.

int Photon.SocketServer.ServerToServer.PingResponse.ServerTime
get

Gets ServerTime.