internal void OnTransportEvent(TransportProtocol transport, TransportProtocolState state) { switch (state) { case TransportProtocolState.DISCONNECTED: { FireEvent(SSHState.DISCONNECTED); break; } case TransportProtocolState.PERFORMING_KEYEXCHANGE: { /*FireEvent(SSHState.PERFORMING_KEYEXCHANGE);*/ break; } } }
/// <summary> /// Initialize the key exchange. /// </summary> /// <param name="transport"></param> public void Init(TransportProtocol transport) { this.transport = transport; }