public class ChannelExec extends PtyCapableChannelSession
AbstractChannel.GracefulChannelCloseable, AbstractChannel.GracefulStateCloseableUtils.AbstractCloseable.StateClientChannel.StreamingasyncErr, asyncIn, asyncOut, err, exitSignal, exitStatus, in, invertedErr, invertedIn, invertedOut, opened, openFailureMsg, openFailureReason, openFuture, out, streaming, typeDEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, gracefulFuture, gracefulState, handlers, id, localWindow, recipient, remoteWindow, service, sessioncloseFuture, lock, log, stateCHANNEL_EXEC, CHANNEL_SHELL, CHANNEL_SUBSYSTEM, CLOSED, EOF, EXIT_SIGNAL, EXIT_STATUS, OPENED, STDERR_DATA, STDOUT_DATA, TIMEOUT| Constructor and Description |
|---|
ChannelExec(String command) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doOpen() |
doOpenPty, getPtyColumns, getPtyHeight, getPtyLines, getPtyModes, getPtyType, getPtyWidth, isAgentForwarding, isUsePty, setAgentForwarding, setEnv, setPtyColumns, setPtyHeight, setPtyLines, setPtyModes, setPtyType, setPtyWidth, setupSensibleDefaultPty, setUsePtydoCloseImmediately, pumpInputStream, securedReaddoWriteData, doWriteExtendedData, getAsyncErr, getAsyncIn, getAsyncOut, getErr, getExitStatus, getIn, getInnerCloseable, getInvertedErr, getInvertedIn, getInvertedOut, getOut, getStreaming, handleOpenFailure, handleOpenSuccess, handleWindowAdjust, open, open, setErr, setIn, setOut, setStreaming, waitForaddRequestHandler, configureWindow, getId, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleRequest, init, notifyStateChanged, sendEof, sendWindowAdjust, toString, writePacketdoCloseGracefullybuilder, close, isClosed, isClosing, preCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclosepublic ChannelExec(String command)
protected void doOpen()
throws IOException
doOpen in class ChannelSessionIOExceptionCopyright © 2008–2014 The Apache Software Foundation. All rights reserved.