public class ChannelSession extends AbstractClientChannel
err, exitSignal, exitStatus, in, invertedErr, invertedIn, invertedOut, opened, openFailureMsg, openFailureReason, openFuture, out, type
closedByOtherSide, closeFuture, closing, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, id, localWindow, lock, log, recipient, remoteWindow, session
CHANNEL_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(InputStream in,
byte[] buf,
int off,
int len) |
close, doWriteData, doWriteExtendedData, getErr, getExitStatus, getIn, getInvertedErr, getInvertedIn, getInvertedOut, getOut, handleOpenFailure, handleOpenSuccess, handleRequest, internalOpen, open, setErr, setIn, setOut, waitFor
configureWindow, getId, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleWindowAdjust, init, notifyStateChanged, preClose, sendEof, sendWindowAdjust, writePacket
public OpenFuture open() throws IOException
IOException
protected void doOpen() throws IOException
doOpen
in class AbstractClientChannel
IOException
protected void postClose()
postClose
in class AbstractClientChannel
protected void pumpInputStream()
protected int securedRead(InputStream in, byte[] buf, int off, int len) throws IOException
IOException
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.