Photon Server API
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
Photon.LoadBalancing.GameServer.MasterServerConnectionBase Class Referenceabstract
Inheritance diagram for Photon.LoadBalancing.GameServer.MasterServerConnectionBase:
Photon.LoadBalancing.GameServer.MasterServerConnection

Public Member Functions

OutgoingMasterServerPeer GetPeer ()
 
void Initialize ()
 
SendResult SendEventIfRegistered (IEventData eventData, SendParameters sendParameters)
 
SendResult SendEvent (IEventData eventData, SendParameters sendParameters)
 
virtual void UpdateAllGameStates ()
 
void ConnectToMaster ()
 
void ReconnectToMaster ()
 
void ConnectToMaster (IPEndPoint endPoint)
 
void UpdateEndpoint ()
 
void OnConnectionEstablished (object responseObject)
 
void OnConnectionFailed (int errorCode, string errorMessage)
 
void Dispose ()
 

Public Attributes

readonly GameApplication Application
 
readonly string Address
 
readonly int Port
 

Protected Member Functions

 MasterServerConnectionBase (GameApplication controller, string address, int port, int connectRetryIntervalSeconds)
 
abstract OutgoingMasterServerPeer CreateServerPeer ()
 

Properties

IPEndPoint EndPoint [get]
 

Constructor & Destructor Documentation

Photon.LoadBalancing.GameServer.MasterServerConnectionBase.MasterServerConnectionBase ( GameApplication  controller,
string  address,
int  port,
int  connectRetryIntervalSeconds 
)
inlineprotected

Member Function Documentation

void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.ConnectToMaster ( )
inline
void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.ConnectToMaster ( IPEndPoint  endPoint)
inline
abstract OutgoingMasterServerPeer Photon.LoadBalancing.GameServer.MasterServerConnectionBase.CreateServerPeer ( )
protectedpure virtual
void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.Dispose ( )
inline
OutgoingMasterServerPeer Photon.LoadBalancing.GameServer.MasterServerConnectionBase.GetPeer ( )
inline
void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.Initialize ( )
inline
void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.OnConnectionEstablished ( object  responseObject)
inline
void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.OnConnectionFailed ( int  errorCode,
string  errorMessage 
)
inline
void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.ReconnectToMaster ( )
inline
SendResult Photon.LoadBalancing.GameServer.MasterServerConnectionBase.SendEvent ( IEventData  eventData,
SendParameters  sendParameters 
)
inline
SendResult Photon.LoadBalancing.GameServer.MasterServerConnectionBase.SendEventIfRegistered ( IEventData  eventData,
SendParameters  sendParameters 
)
inline
virtual void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.UpdateAllGameStates ( )
inlinevirtual
void Photon.LoadBalancing.GameServer.MasterServerConnectionBase.UpdateEndpoint ( )
inline

Member Data Documentation

readonly string Photon.LoadBalancing.GameServer.MasterServerConnectionBase.Address
readonly GameApplication Photon.LoadBalancing.GameServer.MasterServerConnectionBase.Application
readonly int Photon.LoadBalancing.GameServer.MasterServerConnectionBase.Port

Property Documentation

IPEndPoint Photon.LoadBalancing.GameServer.MasterServerConnectionBase.EndPoint
get