Class MessageBrokerQueue
- Namespace
- LfrlAnvil.MessageBroker.Server
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents a message broker queue, which allows a single MessageBrokerRemoteClient instance to manage the order of message notifications between multiple listeners, sent by the server.
public sealed class MessageBrokerQueue
- Inheritance
-
MessageBrokerQueue
- Inherited Members
Properties
Client
MessageBrokerRemoteClient instance to which this queue belongs to.
public MessageBrokerRemoteClient Client { get; }
Property Value
Id
Queue's unique identifier assigned by the client.
public int Id { get; }
Property Value
Listeners
Collection of MessageBrokerChannelListenerBinding instances attached to this queue, identified by channel ids.
public MessageBrokerQueueListenerCollection Listeners { get; }
Property Value
Messages
Collection of messages stored in this queue.
public MessageBrokerQueueMessageCollection Messages { get; }
Property Value
Name
Queue's unique name.
public string Name { get; }
Property Value
State
Current queue's state.
public MessageBrokerQueueState State { get; }
Property Value
Remarks
See MessageBrokerQueueState for more information.
Methods
ToString()
Returns a string representation of this MessageBrokerQueue instance.
[Pure]
public override string ToString()
Returns
- string
String representation.