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