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
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
IsRedelivery
Specifies whether this is a redelivery of the message.
public bool IsRedelivery { get; }
Property Value
IsRetry
Specifies whether this is a retry of the message.
public bool IsRetry { get; }
Property Value
Length
Message length.
public int Length { get; }
Property Value
MessageId
Unique id of the message assigned by the server.
public ulong MessageId { get; }
Property Value
Redelivery
Redelivery attempt of this message.
public int Redelivery { get; }
Property Value
Retry
Retry attempt of this message.
public int Retry { get; }
Property Value
SenderId
Identifier of the client that published this message.
public int SenderId { get; }
Property Value
Source
Event source.
public MessageBrokerClientEventSource Source { get; }
Property Value
StreamId
Unique id of the stream through which the message has been pushed.
public int StreamId { get; }
Property Value
Methods
ToString()
Returns a string representation of this MessageBrokerClientProcessingMessageEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.