Quantum 3 3.1.0

Public Member Functions | List of all members
Photon.Realtime.ConnectionCallbacksContainer Class Reference

Container type for callbacks defined by IConnectionCallbacks. See AddCallbackTarget. More...

Inheritance diagram for Photon.Realtime.ConnectionCallbacksContainer:
Photon.Realtime.IConnectionCallbacks

Public Member Functions

 ConnectionCallbacksContainer (RealtimeClient client)
 Constructs a new container for the given client. More...
 
void OnConnected ()
 Interface implementation. More...
 
void OnConnectedToMaster ()
 Interface implementation. More...
 
void OnCustomAuthenticationFailed (string debugMessage)
 Interface implementation. More...
 
void OnCustomAuthenticationResponse (Dictionary< string, object > data)
 Interface implementation. More...
 
void OnDisconnected (DisconnectCause cause)
 Interface implementation. More...
 
void OnRegionListReceived (RegionHandler regionHandler)
 Interface implementation. More...
 

Detailed Description

Container type for callbacks defined by IConnectionCallbacks. See AddCallbackTarget.

While the interfaces of callbacks wrap up the methods that will be called, the container classes implement a simple way to call a method on all registered objects.

Constructor & Destructor Documentation

◆ ConnectionCallbacksContainer()

Photon.Realtime.ConnectionCallbacksContainer.ConnectionCallbacksContainer ( RealtimeClient  client)
inline

Constructs a new container for the given client.

Parameters
clientThe client which this container related to.

Member Function Documentation

◆ OnConnected()

void Photon.Realtime.ConnectionCallbacksContainer.OnConnected ( )
inline

Interface implementation.

Implements Photon.Realtime.IConnectionCallbacks.

◆ OnConnectedToMaster()

void Photon.Realtime.ConnectionCallbacksContainer.OnConnectedToMaster ( )
inline

Interface implementation.

Implements Photon.Realtime.IConnectionCallbacks.

◆ OnRegionListReceived()

void Photon.Realtime.ConnectionCallbacksContainer.OnRegionListReceived ( RegionHandler  regionHandler)
inline

Interface implementation.

Implements Photon.Realtime.IConnectionCallbacks.

◆ OnDisconnected()

void Photon.Realtime.ConnectionCallbacksContainer.OnDisconnected ( DisconnectCause  cause)
inline

Interface implementation.

Implements Photon.Realtime.IConnectionCallbacks.

◆ OnCustomAuthenticationResponse()

void Photon.Realtime.ConnectionCallbacksContainer.OnCustomAuthenticationResponse ( Dictionary< string, object >  data)
inline

Interface implementation.

Implements Photon.Realtime.IConnectionCallbacks.

◆ OnCustomAuthenticationFailed()

void Photon.Realtime.ConnectionCallbacksContainer.OnCustomAuthenticationFailed ( string  debugMessage)
inline

Interface implementation.

Implements Photon.Realtime.IConnectionCallbacks.