C# Class Poderosa.PortForwarding.ConnectionManager

Show file Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
CloseAll ( ) : void
ConnectionClosed ( ISSHConnection connection ) : void
ConnectionError ( ISSHConnection connection, Exception error ) : void
ConnectionManager ( ) : System
GetOrCreateConnection ( Poderosa.PortForwarding.ChannelProfile prof, Form parent ) : ISSHConnection
IsConnected ( Poderosa.PortForwarding.ChannelProfile prof ) : bool
ManualClose ( Poderosa.PortForwarding.ChannelProfile prof ) : void
StartNewConnection ( ISocketWithTimeoutClient client, Poderosa.PortForwarding.ChannelProfile prof, string password, VerifySSHHostKeyDelegate keycheck ) : Poderosa.PortForwarding.SocketWithTimeout

Method Details

CloseAll() public method

public CloseAll ( ) : void
return void

ConnectionClosed() public method

public ConnectionClosed ( ISSHConnection connection ) : void
connection ISSHConnection
return void

ConnectionError() public method

public ConnectionError ( ISSHConnection connection, Exception error ) : void
connection ISSHConnection
error System.Exception
return void

ConnectionManager() public method

public ConnectionManager ( ) : System
return System

GetOrCreateConnection() public method

public GetOrCreateConnection ( Poderosa.PortForwarding.ChannelProfile prof, Form parent ) : ISSHConnection
prof Poderosa.PortForwarding.ChannelProfile
parent System.Windows.Forms.Form
return ISSHConnection

IsConnected() public method

public IsConnected ( Poderosa.PortForwarding.ChannelProfile prof ) : bool
prof Poderosa.PortForwarding.ChannelProfile
return bool

ManualClose() public method

public ManualClose ( Poderosa.PortForwarding.ChannelProfile prof ) : void
prof Poderosa.PortForwarding.ChannelProfile
return void

StartNewConnection() public static method

public static StartNewConnection ( ISocketWithTimeoutClient client, Poderosa.PortForwarding.ChannelProfile prof, string password, VerifySSHHostKeyDelegate keycheck ) : Poderosa.PortForwarding.SocketWithTimeout
client ISocketWithTimeoutClient
prof Poderosa.PortForwarding.ChannelProfile
password string
keycheck VerifySSHHostKeyDelegate
return Poderosa.PortForwarding.SocketWithTimeout