Table of Contents

Interface IBrokerClientCollection

Namespace
Silverback.Messaging.Broker
Assembly
Silverback.Integration.dll

Holds a reference to all the configured IBrokerClient.

public interface IBrokerClientCollection : IReadOnlyCollection<IBrokerClient>, IEnumerable<IBrokerClient>, IEnumerable
Inherited Members

Properties

this[string]

Gets the client with the specified name.

IBrokerClient this[string name] { get; }

Parameters

name string

The client name.

Property Value

IBrokerClient

The IBrokerClient with the specified name.

Exceptions

KeyNotFoundException

No client with the specified name exists.

Methods

ConnectAllAsync()

Connects all the clients.

ValueTask ConnectAllAsync()

Returns

ValueTask

A ValueTask representing the asynchronous operation.

DisconnectAllAsync()

Disconnects all the clients.

ValueTask DisconnectAllAsync()

Returns

ValueTask

A ValueTask representing the asynchronous operation.