Class CoherenceRelayManager
Manages IRelay and IRelayConnections when using custom relayed transport, e.g. Steam.
public class CoherenceRelayManager
- Inheritance
-
CoherenceRelayManager
Methods
CloseAndRemoveRelayConnection(IRelayConnection)
De-registers a IRelayConnection. Should be called by the implementation of IRelay whenever a client connection is dropped.
public void CloseAndRemoveRelayConnection(IRelayConnection connection)
Parameters
connection
IRelayConnectionA connection to stop relaying to the Replication Server.
OpenRelayConnection(IRelayConnection)
Registers a new IRelayConnection. Should be called by the implementation of IRelay whenever a new client connection is established.
public void OpenRelayConnection(IRelayConnection connection)
Parameters
connection
IRelayConnectionNew connection to be relayed to the Replication Server.