Enum SshConnectionEventKind
- Namespace
- SshSharp.Extensions.DependencyInjection
- Assembly
- SshSharp.Extensions.DependencyInjection.dll
What happened to an endpoint's shared connection, in a SshConnectionEvent.
public enum SshConnectionEventKind
Fields
Connected = 0The shared connection is up: it was opened for the first time, or it was already up when watching began.
Disconnected = 1The shared connection ended (the server or the network closed it, or a keep-alive went unanswered), or it had ended when watching began. The provider does not reconnect by itself: the next GetClientAsync(string, CancellationToken) does.
Reconnected = 2A new shared connection replaced one that had ended: forwardings and long-running commands of the old one are gone.