public class UnsupportedSession extends SessionChannelNG
SSH_EXTENDED_DATA_STDERR
Constructor and Description |
---|
UnsupportedSession(com.sshtools.common.ssh.SshConnection con) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allocatePseudoTerminal(java.lang.String parm1,
int parm2,
int parm3,
int parm4,
int parm5,
byte[] parm6)
If the client requests a pseudo terminal for the session this method will
be invoked before the shell, exec or subsystem is started.
|
protected void |
changeWindowDimensions(int cols,
int rows,
int width,
int height)
When the window (terminal) size changes on the client side, it MAY send
notification in which case this method will be invoked to notify the
session that a change has occurred.
|
protected boolean |
executeCommand(java.lang.String cmd) |
protected void |
onLocalEOF() |
protected void |
processSignal(java.lang.String signal)
A signal can be delivered to the process by the client.
|
boolean |
setEnvironmentVariable(java.lang.String name,
java.lang.String value)
If the client requests that an environment variable be set this method
will be invoked.
|
protected boolean |
startShell()
Invoked when the user wants to start a shell.
|
createChannel, disableRawMode, enableRawMode, executeCommand, getErrorStream, getMaximumWindowSpace, getMinimumWindowSpace, getSubsystem, idle, isAgentForwardingRequested, isIncomingDataHalted, isSingleSession, onChannelClosed, onChannelClosing, onChannelData, onChannelFree, onChannelOpen, onChannelOpenConfirmation, onChannelRequest, onExtendedData, onRemoteEOF, onSessionData, onSessionOpen, openChannel, requestAgentForwarding, sendStderrData, sendStderrData, sendStdoutData, sendStdoutData, setSingleSession, startSubsystem
addEventListener, canClose, checkWindowSpace, clearIdleState, close, close, createCache, evaluateWindowSpace, getChannelType, getCloseFuture, getConnection, getConnectionProtocol, getContext, getInputStream, getLastActivity, getLocalId, getLocalPacket, getLocalWindow, getMaxiumRemotePacketSize, getMaxiumRemoteWindowSize, getOpenFuture, getOutputStream, getRemoteId, getRemotePacket, getRemoteWindow, getSessionIdentifier, getTimeout, haltIncomingData, isClosed, isClosing, isConnected, isLocalEOF, isOpen, isRemoteEOF, log, log, log, logMessage, onChannelError, onChannelOpenFailure, onRemoteClose, onWindowAdjust, processChannelRequestResponse, registerExtendedDataType, resetIdleState, resumeIncomingData, sendChannelDataAndBlock, sendChannelDataAndBlock, sendChannelDataAndBlock, sendChannelDataAndBlock, sendChannelDataAndBlock, sendChannelDataAndBlock, sendChannelRequest, sendChannelRequest, sendData, sendEOF, sendExtendedData, sendExtendedData, sendRequestResponse, sendWindowAdjust, sendWindowAdjust, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public UnsupportedSession(com.sshtools.common.ssh.SshConnection con)
protected boolean executeCommand(java.lang.String cmd)
protected boolean startShell()
SessionChannelNG
startShell
in class SessionChannelNG
protected boolean allocatePseudoTerminal(java.lang.String parm1, int parm2, int parm3, int parm4, int parm5, byte[] parm6)
SessionChannelNG
allocatePseudoTerminal
in class SessionChannelNG
public boolean setEnvironmentVariable(java.lang.String name, java.lang.String value)
SessionChannelNG
setEnvironmentVariable
in interface com.sshtools.common.ssh.SessionChannelServer
setEnvironmentVariable
in class SessionChannelNG
protected void changeWindowDimensions(int cols, int rows, int width, int height)
SessionChannelNG
changeWindowDimensions
in class SessionChannelNG
protected void onLocalEOF()
onLocalEOF
in class com.sshtools.synergy.ssh.ChannelNG<SshServerContext>
protected void processSignal(java.lang.String signal)
SessionChannelNG
processSignal
in class SessionChannelNG
Copyright © 2022. All rights reserved.