Table of Contents

Struct MessageBrokerClientMessageAcknowledgedEvent

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

Represents an event emitted by MessageBrokerClient after message notification ACK has been sent to the server.

public readonly struct MessageBrokerClientMessageAcknowledgedEvent
Inherited Members

Properties

AckId

Id of the ACK associated with the message.

public int AckId { get; }

Property Value

int

IsNack

Specifies whether this ACK was negative.

public bool IsNack { get; }

Property Value

bool

Listener

MessageBrokerListener related to this event.

public MessageBrokerListener Listener { get; }

Property Value

MessageBrokerListener

MessageId

Unique message id.

public ulong MessageId { get; }

Property Value

ulong

Redelivery

Redelivery attempt of the message.

public int Redelivery { get; }

Property Value

int

Retry

Retry attempt of the message.

public int Retry { get; }

Property Value

int

Source

Event source.

public MessageBrokerClientEventSource Source { get; }

Property Value

MessageBrokerClientEventSource

StreamId

Unique id of the server-side stream that handled the message.

public int StreamId { get; }

Property Value

int

Methods

ToString()

Returns a string representation of this MessageBrokerClientMessageAcknowledgedEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.