IRelayConnection
interface in Coherence.Toolkit.Relay
Represents a single client connection made over external service that is relayed to the Replication Server.
Methods
OnConnectionClosed | Called by the CoherenceRelayManager after de-registration of the connection via CloseAndRemoveRelayConnection(IRelayConnection). |
OnConnectionOpened | Called by the CoherenceRelayManager after successful registration of the connection via OpenRelayConnection(IRelayConnection). |
ReceiveMessagesFromClient | Called regularly by the CoherenceRelayManager to fetch all messages (packets) received from that connection and relay them to the Replication Server. |
SendMessageToClient | Called by the CoherenceRelayManager when there's a message (packet) from the Replication Server that should be relayed to this connection. |