Table of Contents

Struct MessageBrokerRemoteClientAwaitPacketEvent

Namespace
LfrlAnvil.MessageBroker.Server.Events
Assembly
LfrlAnvil.MessageBroker.Server.dll

Represents an event emitted by MessageBrokerRemoteClient related to waiting for a network packet to arrive from the client.

public readonly struct MessageBrokerRemoteClientAwaitPacketEvent
Inherited Members

Properties

Client

MessageBrokerRemoteClient that emitted an event.

public MessageBrokerRemoteClient Client { get; }

Property Value

MessageBrokerRemoteClient

Exception

Encountered error.

public Exception? Exception { get; }

Property Value

Exception

Packet

Incoming network packet.

public MessageBrokerRemoteClientReadPacket? Packet { get; }

Property Value

MessageBrokerRemoteClientReadPacket?

PacketCount

Number of received packets.

public int PacketCount { get; }

Property Value

int

Methods

ToString()

Returns a string representation of this MessageBrokerRemoteClientAwaitPacketEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.