public static interface Session.Shell extends Channel
Channel.Direct, Channel.Forwarded
ErrorNotifiable.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, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, isOpen, join, join, setAutoExpand
handle
notifyError
java.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, pixelsTransportException
java.io.InputStream getErrorStream()
stderr
stream.void signal(Signal signal) throws TransportException
signal
- the signalTransportException
- if error sending the signal