Struct MessageBrokerClientMessagePushedEvent
- Namespace
- LfrlAnvil.MessageBroker.Client.Events
- Assembly
- LfrlAnvil.MessageBroker.Client.dll
Represents an event emitted by MessageBrokerClient after a message has been pushed to the server successfully.
public readonly struct MessageBrokerClientMessagePushedEvent
- Inherited Members
Properties
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
Remarks
Id will be null when the client did not request confirmation from the server that it received the message.
Publisher
MessageBrokerPublisher used for pushing the message.
public MessageBrokerPublisher Publisher { get; }
Property Value
Source
Event source.
public MessageBrokerClientEventSource Source { get; }
Property Value
Methods
ToString()
Returns a string representation of this MessageBrokerClientMessagePushedEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.