Struct MessageBrokerRemoteClientQueueCollection
- Namespace
- LfrlAnvil.MessageBroker.Server
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents a collection of MessageBrokerQueue instances attached to a single client, identified by their names.
public readonly struct MessageBrokerRemoteClientQueueCollection
- Inherited Members
Properties
Count
Specifies the number of queues.
public int Count { get; }
Property Value
Methods
GetAll()
Returns all queues.
[Pure]
public ReadOnlyArray<MessageBrokerQueue> GetAll()
Returns
- ReadOnlyArray<MessageBrokerQueue>
All queues.
TryGetById(int)
Attempts to return a queue by its id.
[Pure]
public MessageBrokerQueue? TryGetById(int id)
Parameters
Returns
- MessageBrokerQueue
MessageBrokerQueue instance associated with the client and the provided
idor null, when such a queue does not exist.
TryGetByName(string)
Attempts to return a queue by its name.
[Pure]
public MessageBrokerQueue? TryGetByName(string name)
Parameters
Returns
- MessageBrokerQueue
MessageBrokerQueue instance associated with the client and the provided
nameor null, when such a queue does not exist.