Method Summary |
|
public void | close() Closes the Reader and Writer after the Channel has been closed. |
public void | fillBuffer(String input) Adds the data that was read to the buffer. |
public String[] | getBuffer() Returns a String array of the entire buffer. |
public int | getBufferMaxSize() The total number of rows to store in the buffer. |
public int | getCursorColumn() The index of the row the cursor is on. |
public int | getCursorRow() The index of the row the cursor is on. |
public String | getPage() Returns the page that should be used to display this Channel. |
public int | getReadBufferSize() The maximum amount of data to read from the server
for each read() call. |
public int | getReadPause() The number of milliseconds to pause before reading
data. |
public String[] | getScreen() Returns a String array of the currently visible
rows. |
public int | getScreenHeight() |
public int | getScreenWidth() |
public boolean | isConnected() Indicates whether this connection is still active. |
protected String | process(char[] inputBuffer, int count) Process the incoming request into a string. |
public void | read() Performs a read of the input data and fills the buffer. |
public void | write(String data, boolean sendNewLine) Writes the data to the SSH server and sends a newline charecter
"\n" if the sendNewLine boolean is true. |