Photon Server API
Classes | Public Member Functions | Properties | List of all members
Photon.LoadBalancing.MasterServer.ApplicationStats Class Reference

Public Member Functions

 ApplicationStats (int publishIntervalMs)
 
void IncrementMasterPeerCount ()
 
void DecrementMasterPeerCount ()
 
void UpdateGameServerStats (IncomingGameServerPeer gameServerPeer, int peerCount, int gameCount)
 
void AddSubscriber (MasterClientPeer peer)
 
void RemoveSubscriber (MasterClientPeer peer)
 

Properties

int GameCount [get]
 
int PeerCount [get]
 
int PeerCountGameServer [get]
 
int PeerCountMaster [get]
 

Constructor & Destructor Documentation

Photon.LoadBalancing.MasterServer.ApplicationStats.ApplicationStats ( int  publishIntervalMs)
inline

Member Function Documentation

void Photon.LoadBalancing.MasterServer.ApplicationStats.AddSubscriber ( MasterClientPeer  peer)
inline
void Photon.LoadBalancing.MasterServer.ApplicationStats.DecrementMasterPeerCount ( )
inline
void Photon.LoadBalancing.MasterServer.ApplicationStats.IncrementMasterPeerCount ( )
inline
void Photon.LoadBalancing.MasterServer.ApplicationStats.RemoveSubscriber ( MasterClientPeer  peer)
inline
void Photon.LoadBalancing.MasterServer.ApplicationStats.UpdateGameServerStats ( IncomingGameServerPeer  gameServerPeer,
int  peerCount,
int  gameCount 
)
inline

Property Documentation

int Photon.LoadBalancing.MasterServer.ApplicationStats.GameCount
get
int Photon.LoadBalancing.MasterServer.ApplicationStats.PeerCount
get
int Photon.LoadBalancing.MasterServer.ApplicationStats.PeerCountGameServer
get
int Photon.LoadBalancing.MasterServer.ApplicationStats.PeerCountMaster
get