Table of Contents

Interface IChannelConnection

Namespace
Oscova.Agents.Channels
Assembly
Oscova.Agents.dll

Owns one vendor connection using configuration and callbacks supplied by its host.

public interface IChannelConnection : IAsyncDisposable

Implements

Methods

SendNotificationAsync(string, CancellationToken)

Sends a notification to the configured recipient or throws if delivery fails.

StartAsync(CancellationToken)

Starts the connection and reports readiness through the status callback.

StopAsync(CancellationToken)

Stops receiving and sending through this connection.