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
MessageId
Unique id of the message.
public ulong MessageId { get; }
Property Value
Publisher
MessageBrokerChannelPublisherBinding that pushed the message.
public MessageBrokerChannelPublisherBinding Publisher { get; }
Property Value
Source
Event source.
public MessageBrokerStreamEventSource Source { get; }
Property Value
StoreKey
Key of the stream's message store entry associated with the message.
public int StoreKey { get; }
Property Value
Methods
ToString()
Returns a string representation of this MessageBrokerStreamMessagePushedEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.