Photon Server API

Public Member Functions | Protected Member Functions | List of all members
Photon.LoadBalancing.GameServer.MasterServerConnection Class Reference
Inheritance diagram for Photon.LoadBalancing.GameServer.MasterServerConnection:
Photon.LoadBalancing.GameServer.MasterServerConnectionBase

Public Member Functions

 MasterServerConnection (GameApplication controller, string address, int port, int connectRetryIntervalSeconds)
 
void RemoveGameState (string gameId)
 
override void UpdateAllGameStates ()
 
- Public Member Functions inherited from Photon.LoadBalancing.GameServer.MasterServerConnectionBase
OutgoingMasterServerPeer GetPeer ()
 
void Initialize ()
 
SendResult SendEventIfRegistered (IEventData eventData, SendParameters sendParameters)
 
SendResult SendEvent (IEventData eventData, SendParameters sendParameters)
 
void ConnectToMaster ()
 
void ReconnectToMaster ()
 
void ConnectToMaster (IPEndPoint endPoint)
 
void UpdateEndpoint ()
 
void OnConnectionEstablished (object responseObject)
 
void OnConnectionFailed (int errorCode, string errorMessage)
 
void Dispose ()
 

Protected Member Functions

override OutgoingMasterServerPeer CreateServerPeer ()
 
- Protected Member Functions inherited from Photon.LoadBalancing.GameServer.MasterServerConnectionBase
 MasterServerConnectionBase (GameApplication controller, string address, int port, int connectRetryIntervalSeconds)
 

Additional Inherited Members

- Public Attributes inherited from Photon.LoadBalancing.GameServer.MasterServerConnectionBase
readonly GameApplication Application
 
readonly string Address
 
readonly int Port
 
- Properties inherited from Photon.LoadBalancing.GameServer.MasterServerConnectionBase
IPEndPoint EndPoint [get]
 

Constructor & Destructor Documentation

◆ MasterServerConnection()

Photon.LoadBalancing.GameServer.MasterServerConnection.MasterServerConnection ( GameApplication  controller,
string  address,
int  port,
int  connectRetryIntervalSeconds 
)
inline

Member Function Documentation

◆ CreateServerPeer()

override OutgoingMasterServerPeer Photon.LoadBalancing.GameServer.MasterServerConnection.CreateServerPeer ( )
inlineprotectedvirtual

◆ RemoveGameState()

void Photon.LoadBalancing.GameServer.MasterServerConnection.RemoveGameState ( string  gameId)
inline

◆ UpdateAllGameStates()

override void Photon.LoadBalancing.GameServer.MasterServerConnection.UpdateAllGameStates ( )
inlinevirtual