Table of Contents

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

MessageBrokerRemoteClientConnector

Packet

Incoming network packet.

public MessageBrokerRemoteClientReadPacket Packet { get; }

Property Value

MessageBrokerRemoteClientReadPacket

Source

Event source.

public MessageBrokerServerEventSource Source { get; }

Property Value

MessageBrokerServerEventSource

Type

Specifies the type of this event.

public MessageBrokerRemoteClientReadPacketEventType Type { get; }

Property Value

MessageBrokerRemoteClientReadPacketEventType

Remarks

Methods

ToString()

Returns a string representation of this MessageBrokerServerReadPacketEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.