Table of Contents

Struct MessageBrokerClientAwaitPacketEvent

Namespace
LfrlAnvil.MessageBroker.Client.Events
Assembly
LfrlAnvil.MessageBroker.Client.dll

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

public readonly struct MessageBrokerClientAwaitPacketEvent
Inherited Members

Properties

Client

MessageBrokerClient that emitted an event.

public MessageBrokerClient Client { get; }

Property Value

MessageBrokerClient

Exception

Encountered error.

public Exception? Exception { get; }

Property Value

Exception

Packet

Incoming network packet.

public MessageBrokerClientReadPacket? Packet { get; }

Property Value

MessageBrokerClientReadPacket?

PacketCount

Number of received packets.

public int PacketCount { get; }

Property Value

int

Methods

ToString()

Returns a string representation of this MessageBrokerClientAwaitPacketEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.