Table of Contents

Struct MessageBrokerRemoteClientSendPacketEvent

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

Represents an event emitted by MessageBrokerRemoteClient related to sending a network packet to the client.

public readonly struct MessageBrokerRemoteClientSendPacketEvent
Inherited Members

Properties

BatchTraceId

Identifier of an internal trace that sent the batch.

public ulong BatchTraceId { get; }

Property Value

ulong

Remarks

Relevant only when Type is equal to Batched.

Packet

Outgoing network packet.

public MessageBrokerRemoteClientSendPacket Packet { get; }

Property Value

MessageBrokerRemoteClientSendPacket

PacketCount

Number of sent network packets.

public int PacketCount { get; }

Property Value

int

Remarks

Relevant only when Type is equal to Sending.

Source

Event source.

public MessageBrokerRemoteClientEventSource Source { get; }

Property Value

MessageBrokerRemoteClientEventSource

Type

Specifies the type of this event.

public MessageBrokerRemoteClientSendPacketEventType Type { get; }

Property Value

MessageBrokerRemoteClientSendPacketEventType

Remarks

Methods

ToString()

Returns a string representation of this MessageBrokerRemoteClientSendPacketEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.