Table of Contents

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

int

MessageId

Unique id of the message assigned by the server.

public ulong? MessageId { get; }

Property Value

ulong?

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

MessageBrokerPublisher

Source

Event source.

public MessageBrokerClientEventSource Source { get; }

Property Value

MessageBrokerClientEventSource

Methods

ToString()

Returns a string representation of this MessageBrokerClientMessagePushedEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.