public class SessionChannelNG extends AbstractSessionChannel implements com.sshtools.common.ssh.SessionChannel
EXITCODE_NOT_RECEIVED, SSH_EXTENDED_DATA_STDERR
Constructor and Description |
---|
SessionChannelNG(int maximumPacketSize,
int initialWindowSize,
int maximumWindowSpace,
int minimumWindowSpace) |
SessionChannelNG(int maximumPacketSize,
int initialWindowSize,
int maximumWindowSpace,
int minimumWindowSpace,
boolean autoConsume) |
SessionChannelNG(int maximumPacketSize,
int initialWindowSize,
int maximumWindowSpace,
int minimumWindowSpace,
com.sshtools.common.ssh.ChannelRequestFuture closeFuture,
boolean autoConsume) |
SessionChannelNG(com.sshtools.common.ssh.SshConnection con) |
SessionChannelNG(com.sshtools.common.ssh.SshConnection con,
boolean autoConsume) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkWindowSpace() |
long |
getMaximumWindowSpace() |
long |
getMinimumWindowSpace() |
java.io.InputStream |
getStderrStream() |
protected void |
onExtendedData(java.nio.ByteBuffer data,
int type) |
void |
onSessionOpen() |
allocatePseudoTerminal, allocatePseudoTerminal, allocatePseudoTerminal, allocatePseudoTerminal, changeTerminalDimensions, createChannel, executeCommand, executeCommand, getExitCode, getExitSignalInfo, getMaximumLocalPacketLength, getMaximumRemotePacketLength, isFlowControlEnabled, isSingleSession, onChannelClosed, onChannelClosing, onChannelError, onChannelFree, onChannelOpen, onChannelOpenConfirmation, onChannelRequest, onLocalEOF, onRemoteEOF, openChannel, setEnvironmentVariable, setSingleSession, signal, startShell, startSubsystem
addEventListener, canClose, clearIdleState, close, close, close, createCache, disposeCache, evaluateWindowSpace, getChannelType, getCloseFuture, getConnection, getConnectionProtocol, getContext, getInputStream, getLastActivity, getLocalId, getLocalPacket, getLocalWindow, getMaxiumRemotePacketSize, getMaxiumRemoteWindowSize, getOpenFuture, getOutputStream, getRemoteId, getRemotePacket, getRemoteWindow, getSessionIdentifier, getTimeout, haltIncomingData, isClosed, isClosing, isConnected, isIncomingDataHalted, isLocalEOF, isOpen, isRemoteEOF, log, log, log, logMessage, onChannelData, 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 SessionChannelNG(com.sshtools.common.ssh.SshConnection con)
public SessionChannelNG(com.sshtools.common.ssh.SshConnection con, boolean autoConsume)
public SessionChannelNG(int maximumPacketSize, int initialWindowSize, int maximumWindowSpace, int minimumWindowSpace, com.sshtools.common.ssh.ChannelRequestFuture closeFuture, boolean autoConsume)
public SessionChannelNG(int maximumPacketSize, int initialWindowSize, int maximumWindowSpace, int minimumWindowSpace, boolean autoConsume)
public SessionChannelNG(int maximumPacketSize, int initialWindowSize, int maximumWindowSpace, int minimumWindowSpace)
protected void onExtendedData(java.nio.ByteBuffer data, int type)
onExtendedData
in class com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
public java.io.InputStream getStderrStream()
protected boolean checkWindowSpace()
checkWindowSpace
in class com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
public long getMaximumWindowSpace()
getMaximumWindowSpace
in interface com.sshtools.common.ssh.SessionChannel
public long getMinimumWindowSpace()
getMinimumWindowSpace
in interface com.sshtools.common.ssh.SessionChannel
public void onSessionOpen()
onSessionOpen
in interface com.sshtools.common.ssh.SessionChannel
Copyright © 2024. All rights reserved.