Property | Type | Description | |
---|---|---|---|
OnChannelStatusChanged | void | ||
OnDataReceived | void | ||
OpenForTest | void |
Method | Description | |
---|---|---|
Close ( ) : void |
Close channel.
|
|
Dispose ( ) : void |
IDisposable implementation
|
|
GetPreferredDatagramSize ( ) : int |
Gets preferred datagram size.
|
|
Open ( ISSHConnection connection, string command, int millisecondsTimeout ) : void |
Opens channel.
|
|
Read ( byte buffer, int millisecondsTimeout ) : int |
Reads data
|
|
Read ( byte buffer, int maxLength, int millisecondsTimeout ) : int |
Reads data
|
|
ReadByte ( int millisecondsTimeout ) : byte |
Read one byte
|
|
ReadUntil ( byte terminator, int millisecondsTimeout ) : byte[] |
Read data until specified byte value is read.
|
|
SCPChannelStream ( ) : System |
Constructor
|
|
Write ( byte buffer ) : void |
Writes data.
|
|
Write ( byte buffer, int length ) : void |
Writes data.
|
Method | Description | |
---|---|---|
OnChannelStatusChanged ( SCPChannelStatus newStatus ) : void | ||
OnDataReceived ( Granados.IO.DataFragment data ) : void | ||
OpenForTest ( SSHChannel dummyChannel ) : void |
public Open ( ISSHConnection connection, string command, int millisecondsTimeout ) : void | ||
connection | ISSHConnection | SSH connection object |
command | string | Remote command |
millisecondsTimeout | int | timeout in milliseconds |
return | void |
public Read ( byte buffer, int millisecondsTimeout ) : int | ||
buffer | byte | Byte array to store the data |
millisecondsTimeout | int | Timeout in milliseconds |
return | int |
public Read ( byte buffer, int maxLength, int millisecondsTimeout ) : int | ||
buffer | byte | Byte array to store the data |
maxLength | int | Maximum bytes to read |
millisecondsTimeout | int | Timeout in milliseconds |
return | int |
public ReadByte ( int millisecondsTimeout ) : byte | ||
millisecondsTimeout | int | Timeout in milliseconds |
return | byte |
public ReadUntil ( byte terminator, int millisecondsTimeout ) : byte[] | ||
terminator | byte | Byte value to stop reading |
millisecondsTimeout | int | Timeout in milliseconds |
return | byte[] |
public Write ( byte buffer, int length ) : void | ||
buffer | byte | Buffer |
length | int | Length |
return | void |