| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.connection.Channelcom.sshtools.j2ssh.connection.IOChannelcom.sshtools.daemon.session.SessionChannelServerpublic class SessionChannelServerextends IOChannelField Summary | |
static String | |
Fields inherited from class com.sshtools.j2ssh.connection.IOChannel | |
boundInputStream, boundOutputStream, in, ios, out | |
Fields inherited from class com.sshtools.j2ssh.connection.Channel | |
connection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, state | |
Constructor Summary | |
| |
Method Summary | |
byte[] | |
byte[] | |
String | |
protected int | |
protected int | |
protected int | |
protected void |
|
protected void | |
protected void | |
protected void |
|
protected void | |
protected void |
|
protected boolean |
|
protected boolean |
|
protected void |
|
protected boolean | |
protected boolean |
|
Methods inherited from class com.sshtools.j2ssh.connection.IOChannel | |
bindInputStream, bindOutputStream, getInputStream, getOutputStream, init, onChannelClose, onChannelData, onChannelEOF, onChannelExtData, open, setLocalEOF | |
Methods inherited from class com.sshtools.j2ssh.connection.Channel | |
addEventListener, close, finalizeClose, getChannelConfirmationData, getChannelOpenData, getChannelType, getLocalChannelId, getLocalPacketSize, getLocalWindow, getMaximumPacketSize, getMaximumWindowSpace, getMinimumWindowSpace, getName, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, onChannelClose, onChannelData, onChannelEOF, onChannelExtData, onChannelOpen, onChannelRequest, open, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setLocalEOF, setName, setRemoteEOF | |
public SessionChannelServer()
throws ConfigurationExceptionCreates a new SessionChannelServer object.
- Throws:
ConfigurationException-
public byte[] getChannelConfirmationData()
- Overrides:
- getChannelConfirmationData in interface Channel
- Returns:
public byte[] getChannelOpenData()
- Overrides:
- getChannelOpenData in interface Channel
- Returns:
protected int getMaximumPacketSize()
- Overrides:
- getMaximumPacketSize in interface Channel
- Returns:
protected int getMaximumWindowSpace()
- Overrides:
- getMaximumWindowSpace in interface Channel
- Returns:
protected int getMinimumWindowSpace()
- Overrides:
- getMinimumWindowSpace in interface Channel
- Returns:
protected void onChangeTerminalDimensions(int cols,
int rows,
int width,
int height)
- Parameters:
cols-rows-width-height-
protected void onChannelClose()
throws IOException
- Overrides:
- onChannelClose in interface IOChannel
protected void onChannelEOF()
throws IOException
- Overrides:
- onChannelEOF in interface IOChannel
protected void onChannelExtData(byte[] data)
throws IOException
- Parameters:
data-
protected void onChannelOpen()
throws InvalidChannelException
- Overrides:
- onChannelOpen in interface Channel
- Throws:
InvalidChannelException-
protected void onChannelRequest(String requestType,
boolean wantReply,
byte[] requestData)
throws IOException
- Overrides:
- onChannelRequest in interface Channel
- Parameters:
requestType-wantReply-requestData-
protected boolean onExecuteCommand(String command)
throws IOException
- Parameters:
command-
- Returns:
protected boolean onRequestPseudoTerminal(String term,
int cols,
int rows,
int width,
int height,
String modes)
- Parameters:
term-cols-rows-width-height-modes-
- Returns:
protected void onSetEnvironmentVariable(String name,
String value)
- Parameters:
name-value-
protected boolean onStartShell()
throws IOException
- Returns:
protected boolean onStartSubsystem(String subsystem)
- Parameters:
subsystem-
- Returns: