Class MessageEvents
Event based implementation of a message listener.
Inheritance
System.Object
MessageEvents
Implements
Namespace: SuperNet.Netcode.Transport
Assembly: cs.temp.dll.dll
Syntax
public class MessageEvents : IMessageListener
Events
OnAcknowledge
Called when a reliable message gets acknowledged.
Declaration
public event MessageEvents.OnAcknowledgeHandler OnAcknowledge
Event Type
Type | Description |
---|---|
SuperNet.Netcode.Transport.MessageEvents.OnAcknowledgeHandler |
OnSend
Called after the message gets sent to the socket.
Declaration
public event MessageEvents.OnSendHandler OnSend
Event Type
Type | Description |
---|---|
SuperNet.Netcode.Transport.MessageEvents.OnSendHandler |
Explicit Interface Implementations
IMessageListener.OnMessageAcknowledge(Peer, MessageSent)
Declaration
void IMessageListener.OnMessageAcknowledge(Peer peer, MessageSent message)
Parameters
Type | Name | Description |
---|---|---|
Peer | peer | |
MessageSent | message |
IMessageListener.OnMessageSend(Peer, MessageSent)
Declaration
void IMessageListener.OnMessageSend(Peer peer, MessageSent message)
Parameters
Type | Name | Description |
---|---|---|
Peer | peer | |
MessageSent | message |