Skip to content

StreamManagementClientFactory Class

Builds a management client for one transmitter, over the transport a host configures.

C#
public sealed class StreamManagementClientFactory

Inheritance System.Object → StreamManagementClientFactory

Remarks

A stream client is half configuration and half connection: the transmitter's endpoints are learned at run time from its metadata, while the connection they are spoken over is the host's to shape - its timeouts, its resilience, its proxy. A factory is what lets both be true at once. Constructing the client directly is still open to a caller who wants to bring its own HttpClient; what this adds is the ordinary path, on which everything a host configured for its other outbound clients already applies.

Constructors

StreamManagementClientFactory(IHttpClientFactory) Constructor

Builds a management client for one transmitter, over the transport a host configures.

C#
public StreamManagementClientFactory(System.Net.Http.IHttpClientFactory httpClientFactory);

Parameters

httpClientFactory System.Net.Http.IHttpClientFactory

Supplies the configured transport by its published name.

Remarks

A stream client is half configuration and half connection: the transmitter's endpoints are learned at run time from its metadata, while the connection they are spoken over is the host's to shape - its timeouts, its resilience, its proxy. A factory is what lets both be true at once. Constructing the client directly is still open to a caller who wants to bring its own HttpClient; what this adds is the ordinary path, on which everything a host configured for its other outbound clients already applies.

Methods

StreamManagementClientFactory.Create(TransmitterConfiguration) Method

Creates a client for transmitter.

C#
public Abblix.SharedSignals.Receiver.SecurityEvent.StreamManagementClient Create(Abblix.SharedSignals.Model.TransmitterConfiguration transmitter);

Parameters

transmitter TransmitterConfiguration

The transmitter's configuration metadata, whose endpoints the client calls.

Returns

StreamManagementClient