Table of Contents

Interface IDaemonChannelListener

Namespace
VpnHood.AppUi.Hosting.Desktop.Daemon.Platform
Assembly
VpnHood.AppUi.Hosting.Desktop.Daemon.dll

Defines the channel as the service holds it open.

public interface IDaemonChannelListener : IAsyncDisposable
Inherited Members

Methods

Accept(CancellationToken)

Waits for the next caller.

Task<IDaemonChannelCaller> Accept(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

The token to monitor for cancellation requests.

Returns

Task<IDaemonChannelCaller>

A task whose result is the caller.

Exceptions

OperationCanceledException

cancellationToken was canceled.