public class ChannelDirectTcpip extends AbstractClientChannel
err, exitSignal, exitStatus, in, invertedErr, invertedIn, invertedOut, opened, openFailureMsg, openFailureReason, openFuture, out, type
CLOSE_RECV, CLOSE_SENT, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, gracefulState, handlers, id, localWindow, recipient, remoteWindow, service, session
CLOSED, closeFuture, GRACEFUL, IMMEDIATE, lock, log, OPENED, state
CHANNEL_EXEC, CHANNEL_SHELL, CHANNEL_SUBSYSTEM, CLOSED, EOF, EXIT_SIGNAL, EXIT_STATUS, OPENED, STDERR_DATA, STDOUT_DATA, TIMEOUT
Constructor and Description |
---|
ChannelDirectTcpip(SshdSocketAddress local,
SshdSocketAddress remote) |
Modifier and Type | Method and Description |
---|---|
protected void |
doOpen() |
protected void |
doWriteData(byte[] data,
int off,
int len) |
protected OpenFuture |
internalOpen() |
OpenFuture |
open() |
close, doWriteExtendedData, getErr, getExitStatus, getIn, getInvertedErr, getInvertedIn, getInvertedOut, getOut, handleOpenFailure, handleOpenSuccess, open, postClose, setErr, setIn, setOut, waitFor
addRequestHandler, configureWindow, getGracefulCloseable, getId, getInnerCloseable, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleRequest, handleWindowAdjust, init, notifyStateChanged, sendEof, sendWindowAdjust, toString, writePacket
doCloseGracefully, doCloseImmediately
public ChannelDirectTcpip(SshdSocketAddress local, SshdSocketAddress remote)
protected OpenFuture internalOpen() throws IOException
internalOpen
in class AbstractClientChannel
IOException
protected void doOpen() throws IOException
doOpen
in class AbstractClientChannel
IOException
public OpenFuture open() throws IOException
IOException
protected void doWriteData(byte[] data, int off, int len) throws IOException
doWriteData
in class AbstractClientChannel
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.