net.schmizz.sshj.connection.channel.direct
Interface Session.Shell
- All Superinterfaces:
- Channel, Closeable, ErrorNotifiable, SSHPacketHandler
- All Known Implementing Classes:
- SessionChannel
- Enclosing interface:
- Session
public static interface Session.Shell
- extends Channel
Shell API.
Methods inherited from interface net.schmizz.sshj.connection.channel.Channel |
close, getAutoExpand, getID, getInputStream, getLocalMaxPacketSize, getLocalWinSize, getOutputStream, getRecipient, getRemoteMaxPacketSize, getRemoteWinSize, getType, isOpen, join, join, sendEOF, setAutoExpand |
canDoFlowControl
Boolean canDoFlowControl()
- Whether the client can do local flow control using
control-S
and control-Q
.
- Returns:
- boolean value indicating whether 'client can do', or
null
if no such information was
received
changeWindowDimensions
void changeWindowDimensions(int cols,
int rows,
int width,
int height)
throws TransportException
- Sends a window dimension change message.
- Parameters:
cols
- terminal width, columnsrows
- terminal height, rowswidth
- terminal width, pixelsheight
- terminal height, pixels
- Throws:
TransportException
getErrorStream
InputStream getErrorStream()
- Returns the shell's
stderr
stream.
signal
void signal(Signal signal)
throws TransportException
- Send a signal.
- Parameters:
signal
- the signal
- Throws:
TransportException
- if error sending the signal
Copyright © 2009-2012. All Rights Reserved.