Table of Contents

Struct MessageBrokerClientPushingMessageEvent

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

Represents an event emitted by MessageBrokerClient when attempting to push a message to the server.

public readonly struct MessageBrokerClientPushingMessageEvent
Inherited Members

Properties

Confirm

Specifies whether the server should send confirmation that it successfully handled the message.

public bool Confirm { get; }

Property Value

bool

Length

Message length.

public int Length { get; }

Property Value

int

Publisher

MessageBrokerPublisher used for pushing the message.

public MessageBrokerPublisher Publisher { get; }

Property Value

MessageBrokerPublisher

RoutingTargetCount

Number of explicit routing targets.

public short RoutingTargetCount { get; }

Property Value

short

Source

Event source.

public MessageBrokerClientEventSource Source { get; }

Property Value

MessageBrokerClientEventSource

Methods

ToString()

Returns a string representation of this MessageBrokerClientPushingMessageEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.