Table of Contents

Struct MessageBrokerClientProcessingMessageEvent

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

Represents an event emitted by MessageBrokerClient when attempting to process received message notification from the server.

public readonly struct MessageBrokerClientProcessingMessageEvent
Inherited Members

Properties

AckId

Id of the pending ACK associated with the message.

public int AckId { get; }

Property Value

int

Remarks

ACK is expected only when value is greater than 0.

ChannelId

Unique id of the channel through which the message has been sent.

public int ChannelId { get; }

Property Value

int

IsRedelivery

Specifies whether this is a redelivery of the message.

public bool IsRedelivery { get; }

Property Value

bool

IsRetry

Specifies whether this is a retry of the message.

public bool IsRetry { get; }

Property Value

bool

Length

Message length.

public int Length { get; }

Property Value

int

MessageId

Unique id of the message assigned by the server.

public ulong MessageId { get; }

Property Value

ulong

Redelivery

Redelivery attempt of this message.

public int Redelivery { get; }

Property Value

int

Retry

Retry attempt of this message.

public int Retry { get; }

Property Value

int

SenderId

Identifier of the client that published this message.

public int SenderId { get; }

Property Value

int

Source

Event source.

public MessageBrokerClientEventSource Source { get; }

Property Value

MessageBrokerClientEventSource

StreamId

Unique id of the stream through which the message has been pushed.

public int StreamId { get; }

Property Value

int

Methods

ToString()

Returns a string representation of this MessageBrokerClientProcessingMessageEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.