Table of Contents

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

MessageBrokerRemoteClient

Id

Queue's unique identifier assigned by the client.

public int Id { get; }

Property Value

int

Listeners

Collection of MessageBrokerChannelListenerBinding instances attached to this queue, identified by channel ids.

public MessageBrokerQueueListenerCollection Listeners { get; }

Property Value

MessageBrokerQueueListenerCollection

Messages

Collection of messages stored in this queue.

public MessageBrokerQueueMessageCollection Messages { get; }

Property Value

MessageBrokerQueueMessageCollection

Name

Queue's unique name.

public string Name { get; }

Property Value

string

State

Current queue's state.

public MessageBrokerQueueState State { get; }

Property Value

MessageBrokerQueueState

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.