ShellChannel Class
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9147)
Defines a generalized shell communication channel API. Intended to be used by Rebex Terminal infrastructure.
Syntax
public abstract class ShellChannel : IDisposable
Implements
Inherited Members
Properties
Name | Description |
---|---|
Available | Gets the amount of data that has been received from the remote connection end and is available to be read. |
Connected | Gets a value that indicates whether the Shell |
Exit |
Gets the channel exit status. Returns 0 if not available. |
Options | Gets channel flags. |
Terminal |
Gets the terminal height. |
Terminal |
Gets the terminal width. |
Treat |
Gets or sets a value specifying how to treat extended data. |
Methods
Name | Description |
---|---|
Close() | Closes the channel gracefully. |
Dispose() | Closes the channel. |
Get |
Gets a value that indicates whether the Shell |
Has |
Determines whether the specified option is set. |
Keep |
Sends a keep alive packet (NOOP) to the server. |
Poll(Int32) | Determines the status of the channel. |
Receive(Byte[], Int32, Int32) | Receives the specified amount of data from the remote connection end into a specific location of the receive buffer and using the supplied flags. |
Send(Byte[], Int32, Int32) | Sends the specified amount of data to the remote connection end, starting at the indicated location in the data and using the supplied flags. |
Send |
Sends a break request (if supported by the underlying channel). |
Set |
Sets a new terminal size. |