public static interface Session.Shell extends Channel
Channel.Direct, Channel.ForwardedErrorNotifiable.Util| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
canDoFlowControl()
Whether the client can do local flow control using
control-S and control-Q. |
void |
changeWindowDimensions(int cols,
int rows,
int width,
int height)
Sends a window dimension change message.
|
java.io.InputStream |
getErrorStream()
Returns the shell's
stderr stream. |
void |
signal(Signal signal)
Send a signal.
|
close, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getLoggerFactory, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, isEOF, isOpen, join, join, setAutoExpandhandlenotifyErrorjava.lang.Boolean canDoFlowControl()
control-S and control-Q.null if no such information was
receivedvoid changeWindowDimensions(int cols,
int rows,
int width,
int height)
throws TransportException
cols - terminal width, columnsrows - terminal height, rowswidth - terminal width, pixelsheight - terminal height, pixelsTransportExceptionjava.io.InputStream getErrorStream()
stderr stream.void signal(Signal signal) throws TransportException
signal - the signalTransportException - if error sending the signal