Interface IMessageListener
Implements a sent message listener.
Namespace: SuperNet.Netcode.Transport
Assembly: cs.temp.dll.dll
Syntax
public interface IMessageListener
Methods
OnMessageAcknowledge(Peer, MessageSent)
Called when a reliable message gets acknowledged.
Declaration
void OnMessageAcknowledge(Peer peer, MessageSent message)
Parameters
Type | Name | Description |
---|---|---|
Peer | peer | Peer that received the acknowledgment. |
MessageSent | message | Message that was acknowledged. |
OnMessageSend(Peer, MessageSent)
Called after the message gets sent to the socket.
Declaration
void OnMessageSend(Peer peer, MessageSent message)
Parameters
Type | Name | Description |
---|---|---|
Peer | peer | Peer that sent the message. |
MessageSent | message | Message that was sent. |