Interface IBrokerClientCollection
Holds a reference to all the configured IBrokerClient.
Inherited Members
Namespace: Silverback.Messaging.Broker
Assembly: Silverback.Integration.dll
Syntax
public interface IBrokerClientCollection : IReadOnlyCollection<IBrokerClient>, IEnumerable<IBrokerClient>, IEnumerable
Properties
this[string]
Gets the client with the specified name.
Declaration
IBrokerClient this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The client name. |
Property Value
| Type | Description |
|---|---|
| IBrokerClient | The IBrokerClient with the specified name. |
Methods
ConnectAllAsync()
Connects all the clients.
Declaration
ValueTask ConnectAllAsync()
Returns
| Type | Description |
|---|---|
| ValueTask | A ValueTask representing the asynchronous operation. |
DisconnectAllAsync()
Disconnects all the clients.
Declaration
ValueTask DisconnectAllAsync()
Returns
| Type | Description |
|---|---|
| ValueTask | A ValueTask representing the asynchronous operation. |