| java.lang.Object com.sshtools.j2ssh.connection.Channel com.sshtools.j2ssh.connection.IOChannel com.sshtools.daemon.session.SessionChannelServer
SessionChannelServer | public class SessionChannelServer extends IOChannel (Code) | | author: $author$ version: $Revision: 1.16 $ |
Inner Class :class ProcessMonitorThread extends Thread | |
Method Summary | |
public byte[] | getChannelConfirmationData() | public byte[] | getChannelOpenData() | public String | getChannelType() | protected int | getMaximumPacketSize() | protected int | getMaximumWindowSpace() | protected int | getMinimumWindowSpace() | protected void | onChangeTerminalDimensions(int cols, int rows, int width, int height) | protected void | onChannelClose() | protected void | onChannelEOF() | protected void | onChannelExtData(byte[] data) | protected void | onChannelOpen() | protected void | onChannelRequest(String requestType, boolean wantReply, byte[] requestData) | protected boolean | onExecuteCommand(String command) | protected boolean | onRequestPseudoTerminal(String term, int cols, int rows, int width, int height, String modes) | protected void | onSetEnvironmentVariable(String name, String value) | protected boolean | onStartShell() | protected boolean | onStartSubsystem(String subsystem) |
SESSION_CHANNEL_TYPE | final public static String SESSION_CHANNEL_TYPE(Code) | | |
getChannelConfirmationData | public byte[] getChannelConfirmationData()(Code) | | |
getChannelOpenData | public byte[] getChannelOpenData()(Code) | | |
getMaximumPacketSize | protected int getMaximumPacketSize()(Code) | | |
getMaximumWindowSpace | protected int getMaximumWindowSpace()(Code) | | |
getMinimumWindowSpace | protected int getMinimumWindowSpace()(Code) | | |
onChangeTerminalDimensions | protected void onChangeTerminalDimensions(int cols, int rows, int width, int height)(Code) | | Parameters: cols - Parameters: rows - Parameters: width - Parameters: height - |
onChannelRequest | protected void onChannelRequest(String requestType, boolean wantReply, byte[] requestData) throws IOException(Code) | | Parameters: requestType - Parameters: wantReply - Parameters: requestData - throws: IOException - |
onRequestPseudoTerminal | protected boolean onRequestPseudoTerminal(String term, int cols, int rows, int width, int height, String modes)(Code) | | Parameters: term - Parameters: cols - Parameters: rows - Parameters: width - Parameters: height - Parameters: modes - |
onSetEnvironmentVariable | protected void onSetEnvironmentVariable(String name, String value)(Code) | | Parameters: name - Parameters: value - |
onStartSubsystem | protected boolean onStartSubsystem(String subsystem)(Code) | | Parameters: subsystem - |
Methods inherited from com.sshtools.j2ssh.connection.Channel | public void addEventListener(ChannelEventListener eventListener)(Code)(Java Doc) public void close() throws IOException(Code)(Java Doc) protected void finalizeClose() throws IOException(Code)(Java Doc) abstract public byte[] getChannelConfirmationData()(Code)(Java Doc) abstract public byte[] getChannelOpenData()(Code)(Java Doc) abstract public String getChannelType()(Code)(Java Doc) public long getLocalChannelId()(Code)(Java Doc) public long getLocalPacketSize()(Code)(Java Doc) public ChannelDataWindow getLocalWindow()(Code)(Java Doc) abstract protected int getMaximumPacketSize()(Code)(Java Doc) abstract protected int getMaximumWindowSpace()(Code)(Java Doc) abstract protected int getMinimumWindowSpace()(Code)(Java Doc) public String getName()(Code)(Java Doc) public long getRemoteChannelId()(Code)(Java Doc) public long getRemotePacketSize()(Code)(Java Doc) public ChannelDataWindow getRemoteWindow()(Code)(Java Doc) public ChannelState getState()(Code)(Java Doc) protected void init(ConnectionProtocol connection, long localChannelId, long senderChannelId, long initialWindowSize, long maximumPacketSize) throws IOException(Code)(Java Doc) protected void init(ConnectionProtocol connection, long localChannelId, long senderChannelId, long initialWindowSize, long maximumPacketSize, ChannelEventListener eventListener) throws IOException(Code)(Java Doc) public boolean isClosed()(Code)(Java Doc) public boolean isLocalEOF()(Code)(Java Doc) public boolean isOpen()(Code)(Java Doc) public boolean isRemoteEOF()(Code)(Java Doc) abstract protected void onChannelClose() throws IOException(Code)(Java Doc) abstract protected void onChannelData(SshMsgChannelData msg) throws IOException(Code)(Java Doc) abstract protected void onChannelEOF() throws IOException(Code)(Java Doc) abstract protected void onChannelExtData(SshMsgChannelExtendedData msg) throws IOException(Code)(Java Doc) abstract protected void onChannelOpen() throws IOException(Code)(Java Doc) abstract protected void onChannelRequest(String requestType, boolean wantReply, byte[] requestData) throws IOException(Code)(Java Doc) protected void open() throws IOException(Code)(Java Doc) protected void processChannelData(SshMsgChannelData msg) throws IOException(Code)(Java Doc) protected void processChannelData(SshMsgChannelExtendedData msg) throws IOException(Code)(Java Doc) protected void remoteClose() throws IOException(Code)(Java Doc) protected void sendChannelData(byte[] data) throws IOException(Code)(Java Doc) protected void sendChannelExtData(int type, byte[] data) throws IOException(Code)(Java Doc) public void setLocalEOF() throws IOException(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) protected void setRemoteEOF() throws IOException(Code)(Java Doc)
|
|
|