Struct MessageBrokerServerSendPacketEvent
- Namespace
- LfrlAnvil.MessageBroker.Server.Events
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents an event emitted by MessageBrokerServer related to sending a network packet to the client via a MessageBrokerRemoteClientConnector.
public readonly struct MessageBrokerServerSendPacketEvent
- Inherited Members
Properties
Connector
MessageBrokerRemoteClientConnector associated with this event.
public MessageBrokerRemoteClientConnector Connector { get; }
Property Value
Packet
Outgoing network packet.
public MessageBrokerRemoteClientSendPacket Packet { get; }
Property Value
Source
Event source.
public MessageBrokerServerEventSource Source { get; }
Property Value
Type
Specifies the type of this event.
public MessageBrokerRemoteClientSendPacketEventType Type { get; }
Property Value
Remarks
SeeMessageBrokerRemoteClientSendPacketEventType for more information.
Methods
ToString()
Returns a string representation of this MessageBrokerServerSendPacketEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.