public class TcpipClientChannel extends AbstractClientChannel
| Modifier and Type | Class and Description |
|---|---|
static class |
TcpipClientChannel.Type
Type of channel being created
|
AbstractChannel.GracefulChannelCloseable, AbstractChannel.GracefulStateCloseableUtils.AbstractCloseable.StateClientChannel.StreamingasyncErr, asyncIn, asyncOut, err, exitSignal, exitStatus, in, invertedErr, invertedIn, invertedOut, opened, openFailureMsg, openFailureReason, openFuture, out, streaming, typeDEFAULT_CHANNEL_CLOSE_TIMEOUT, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, executor, gracefulFuture, gracefulState, handlers, id, localWindow, recipient, remoteWindow, RESPONSE_BUFFER_GROWTH_FACTOR, service, session, shutdownExecutorcloseFuture, lock, statelogCHANNEL_EXEC, CHANNEL_SHELL, CHANNEL_SUBSYSTEM, CLOSED, EOF, EXIT_SIGNAL, EXIT_STATUS, OPENED, STDERR_DATA, STDOUT_DATA, TIMEOUT| Constructor and Description |
|---|
TcpipClientChannel(TcpipClientChannel.Type type,
IoSession serverSession,
SshdSocketAddress remote) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doOpen() |
protected void |
doWriteData(byte[] data,
int off,
int len) |
protected Closeable |
getInnerCloseable() |
OpenFuture |
getOpenFuture() |
OpenFuture |
open() |
doWriteExtendedData, getAsyncErr, getAsyncIn, getAsyncOut, getErr, getExitStatus, getIn, getInvertedErr, getInvertedIn, getInvertedOut, getOut, getStreaming, handleOpenFailure, handleOpenSuccess, handleWindowAdjust, open, setErr, setIn, setOut, setStreaming, waitForaddRequestHandler, configureWindow, doCloseImmediately, getExecutorService, getId, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleRequest, init, isEofSignalled, isShutdownOnExit, notifyStateChanged, sendEof, sendResponse, sendWindowAdjust, setEofSignalled, setExecutorService, setShutdownOnExit, toString, writePacketdoCloseGracefullybuilder, close, isClosed, isClosing, preCloseclose, isOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclosepublic TcpipClientChannel(TcpipClientChannel.Type type, IoSession serverSession, SshdSocketAddress remote)
public OpenFuture getOpenFuture()
public OpenFuture open() throws IOException
open in interface ClientChannelopen in class AbstractClientChannelIOExceptionprotected void doOpen()
throws IOException
doOpen in class AbstractClientChannelIOExceptionprotected Closeable getInnerCloseable()
getInnerCloseable in class AbstractClientChannelprotected void doWriteData(byte[] data,
int off,
int len)
throws IOException
doWriteData in class AbstractClientChannelIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.