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
Exception
Encountered error.
public Exception? Exception { get; }
Property Value
Packet
Incoming network packet.
public MessageBrokerClientReadPacket? Packet { get; }
Property Value
PacketCount
Number of received packets.
public int PacketCount { get; }
Property Value
Methods
ToString()
Returns a string representation of this MessageBrokerClientAwaitPacketEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.