Photon Server API Documentation v5.0RC1

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

◆ PingResponse() [1/2]

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.

◆ PingResponse() [2/2]

Photon.SocketServer.ServerToServer.PingResponse.PingResponse ( byte[]  buffer)
inline

Initializes a new instance of the PingResponse class.

Parameters
bufferThe buffer.

Member Data Documentation

◆ SizeInBytes

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

The size in bytes.

Property Documentation

◆ ClientTime

int Photon.SocketServer.ServerToServer.PingResponse.ClientTime
get

Gets ClientTime.

◆ ServerTime

int Photon.SocketServer.ServerToServer.PingResponse.ServerTime
get

Gets ServerTime.