Property | Type | Description | |
---|---|---|---|
_operationTimeout | System.TimeSpan |
Method | Description | |
---|---|---|
Connect ( ) : void |
Connects subsystem on SSH channel.
|
|
Disconnect ( ) : void |
Disconnects subsystem channel.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
SendData ( byte data ) : void |
Sends data to the subsystem.
|
|
SubsystemSession ( Session session, string subsystemName, System.TimeSpan operationTimeout, |
Initializes a new instance of the SubsystemSession class.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
OnChannelOpen ( ) : void |
Called when channel is open.
|
|
OnDataReceived ( uint dataTypeCode, byte data ) : void |
Called when data is received.
|
|
RaiseError ( |
Raises the error.
|
Method | Description | |
---|---|---|
Channel_Closed ( object sender, Common e ) : void | ||
Channel_DataReceived ( object sender, Common e ) : void | ||
Session_Disconnected ( object sender, |
||
Session_ErrorOccured ( object sender, ExceptionEventArgs e ) : void | ||
WaitHandle ( |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
protected abstract OnDataReceived ( uint dataTypeCode, byte data ) : void | ||
dataTypeCode | uint | The data type code. |
data | byte | The data. |
return | void |
protected RaiseError ( |
||
error | The error. | |
return | void |
public SendData ( byte data ) : void | ||
data | byte | The data to be sent. |
return | void |
public SubsystemSession ( Session session, string subsystemName, System.TimeSpan operationTimeout, |
||
session | Session | The session. |
subsystemName | string | Name of the subsystem. |
operationTimeout | System.TimeSpan | The operation timeout. |
encoding | ||
return | System |