프로퍼티 | 타입 | 설명 | |
---|---|---|---|
OnChannelStatusChanged | void | ||
OnDataReceived | void | ||
OpenForTest | void |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 |
리턴 | void |
public Read ( byte buffer, int millisecondsTimeout ) : int | ||
buffer | byte | Byte array to store the data |
millisecondsTimeout | int | Timeout in milliseconds |
리턴 | 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 |
리턴 | int |
public ReadByte ( int millisecondsTimeout ) : byte | ||
millisecondsTimeout | int | Timeout in milliseconds |
리턴 | byte |
public ReadUntil ( byte terminator, int millisecondsTimeout ) : byte[] | ||
terminator | byte | Byte value to stop reading |
millisecondsTimeout | int | Timeout in milliseconds |
리턴 | byte[] |
public Write ( byte buffer, int length ) : void | ||
buffer | byte | Buffer |
length | int | Length |
리턴 | void |