Table of Contents

Class CoherenceRelayManager

Namespace
Coherence.Toolkit.Relay
Assembly
Coherence.Toolkit.dll

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 IRelayConnection

A 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 IRelayConnection

New connection to be relayed to the Replication Server.