Table of Contents

Struct MessageBrokerServerSendPacketEvent

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

Represents an event emitted by MessageBrokerServer related to sending a network packet to the client via a MessageBrokerRemoteClientConnector.

public readonly struct MessageBrokerServerSendPacketEvent
Inherited Members

Properties

Connector

MessageBrokerRemoteClientConnector associated with this event.

public MessageBrokerRemoteClientConnector Connector { get; }

Property Value

MessageBrokerRemoteClientConnector

Packet

Outgoing network packet.

public MessageBrokerRemoteClientSendPacket Packet { get; }

Property Value

MessageBrokerRemoteClientSendPacket

Source

Event source.

public MessageBrokerServerEventSource Source { get; }

Property Value

MessageBrokerServerEventSource

Type

Specifies the type of this event.

public MessageBrokerRemoteClientSendPacketEventType Type { get; }

Property Value

MessageBrokerRemoteClientSendPacketEventType

Remarks

Methods

ToString()

Returns a string representation of this MessageBrokerServerSendPacketEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.