ISubsystemSession
Base interface for SSH subsystem implementations.
Gets a value indicating whether this session is open.
Gets or sets the number of milliseconds to wait for an operation to complete.
Gets the logger factory for this subsystem session.
void Connect()
Connects the subsystem using a new SSH channel session.
Creates a WaitHandle array that is composed of system objects and the specified
elements.
void Disconnect()
Disconnects the subsystem channel.
Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed
integer to specify the time interval.
Waits a specified time for a given WaitHandle to be signaled.
Task WaitOnHandleAsync(WaitHandle waitHandle, int millisecondsTimeout, CancellationToken cancellationToken)
Asynchronously waits for a given WaitHandle to be signaled.
Task<T> WaitOnHandleAsync<T>(TaskCompletionSource<T> tcs, int millisecondsTimeout, CancellationToken cancellationToken)
Asynchronously waits for a given TaskCompletionSource<T> to complete.