Table of Contents

Struct MessageBrokerStreamMessagePushedEvent

Namespace
LfrlAnvil.MessageBroker.Server.Events
Assembly
LfrlAnvil.MessageBroker.Server.dll

Represents an event emitted by MessageBrokerStream after a message pushed from the publisher has been handled successfully.

public readonly struct MessageBrokerStreamMessagePushedEvent
Inherited Members

Properties

Length

Message length.

public int Length { get; }

Property Value

int

MessageId

Unique id of the message.

public ulong MessageId { get; }

Property Value

ulong

Publisher

MessageBrokerChannelPublisherBinding that pushed the message.

public MessageBrokerChannelPublisherBinding Publisher { get; }

Property Value

MessageBrokerChannelPublisherBinding

Source

Event source.

public MessageBrokerStreamEventSource Source { get; }

Property Value

MessageBrokerStreamEventSource

StoreKey

Key of the stream's message store entry associated with the message.

public int StoreKey { get; }

Property Value

int

Methods

ToString()

Returns a string representation of this MessageBrokerStreamMessagePushedEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.