Interface IDaemonChannelListener
- 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
cancellationTokenCancellationTokenThe token to monitor for cancellation requests.
Returns
- Task<IDaemonChannelCaller>
A task whose result is the caller.
Exceptions
- OperationCanceledException
cancellationTokenwas canceled.