Inheritance: Poderosa.Protocols.InterruptableConnector
Exemplo n.º 1
0
        public IInterruptable AsyncSSHConnect(IInterruptableConnectorClient result_client, ISSHLoginParameter destination)
        {
            InterruptableConnector swt = new SSHConnector(destination, new HostKeyVerifierBridge());
            ITCPParameter          tcp = (ITCPParameter)destination.GetAdapter(typeof(ITCPParameter));

            swt.AsyncConnect(result_client, tcp);
            return(swt);
        }
Exemplo n.º 2
0
 public IInterruptable AsyncSSHConnect(IInterruptableConnectorClient result_client, ISSHLoginParameter destination)
 {
     InterruptableConnector swt = new SSHConnector(destination, new HostKeyVerifierBridge());
     ITCPParameter tcp = (ITCPParameter)destination.GetAdapter(typeof(ITCPParameter));
     swt.AsyncConnect(result_client, tcp);
     return swt;
 }