Property | Type | Description | |
---|---|---|---|
BaseClient | System | ||
SendKeepAlive | void | ||
SendKeepAliveMessage | void | ||
Session_ErrorOccured | void | ||
Session_HostKeyReceived | void | ||
StartKeepAliveTimer | void | ||
StopKeepAliveTimer | void |
Method | Description | |
---|---|---|
Connect ( ) : void |
Connects client to the server.
|
|
Disconnect ( ) : void |
Disconnects client from the server.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
Method | Description | |
---|---|---|
BaseClient ( |
Initializes a new instance of the BaseClient class. If ownsConnectionInfo is |
|
CheckDisposed ( ) : void |
Check if the current instance is disposed.
|
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
OnConnected ( ) : void |
Called when client is connected to the server.
|
|
OnConnecting ( ) : void |
Called when client is connecting to the server.
|
|
OnDisconnected ( ) : void |
Called when client is disconnected from the server.
|
|
OnDisconnecting ( ) : void |
Called when client is disconnecting from the server.
|
Method | Description | |
---|---|---|
BaseClient ( |
Initializes a new instance of the BaseClient class. If ownsConnectionInfo is |
|
SendKeepAlive ( ) : void | ||
SendKeepAliveMessage ( ) : void | ||
Session_ErrorOccured ( object sender, ExceptionEventArgs e ) : void | ||
Session_HostKeyReceived ( object sender, |
||
StartKeepAliveTimer ( ) : void |
Starts the keep-alive timer. When KeepAliveInterval is negative one (-1) milliseconds, then the timer will not be started. |
|
StopKeepAliveTimer ( ) : void |
Stops the keep-alive timer, and waits until all timer callbacks have been executed.
|
protected BaseClient ( |
||
connectionInfo | The connection info. | |
ownsConnectionInfo | bool | Specified whether this instance owns the connection info. |
return | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |