public class ChannelSession extends AbstractClientChannel
err, exitSignal, exitStatus, in, invertedErr, invertedIn, invertedOut, opened, openFailureMsg, openFailureReason, openFuture, out, typeCLOSE_RECV, CLOSE_SENT, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, gracefulState, handlers, id, localWindow, recipient, remoteWindow, service, sessionCLOSED, closeFuture, GRACEFUL, IMMEDIATE, lock, log, OPENED, stateCHANNEL_EXEC, CHANNEL_SHELL, CHANNEL_SUBSYSTEM, CLOSED, EOF, EXIT_SIGNAL, EXIT_STATUS, OPENED, STDERR_DATA, STDOUT_DATA, TIMEOUT| Constructor and Description |
|---|
ChannelSession() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doOpen() |
OpenFuture |
open() |
protected void |
postClose() |
protected void |
pumpInputStream() |
protected int |
securedRead(java.io.InputStream in,
byte[] buf,
int off,
int len) |
close, doWriteData, doWriteExtendedData, getErr, getExitStatus, getIn, getInvertedErr, getInvertedIn, getInvertedOut, getOut, handleOpenFailure, handleOpenSuccess, internalOpen, open, setErr, setIn, setOut, waitForaddRequestHandler, configureWindow, getGracefulCloseable, getId, getInnerCloseable, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleRequest, handleWindowAdjust, init, notifyStateChanged, sendEof, sendWindowAdjust, toString, writePacketdoCloseGracefully, doCloseImmediatelypublic OpenFuture open() throws java.io.IOException
java.io.IOExceptionprotected void doOpen()
throws java.io.IOException
doOpen in class AbstractClientChanneljava.io.IOExceptionprotected void postClose()
postClose in class AbstractClientChannelprotected void pumpInputStream()
protected int securedRead(java.io.InputStream in,
byte[] buf,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.