public class ChannelDirectTcpip extends AbstractClientChannel
err, exitSignal, exitStatus, in, opened, openFailureMsg, openFailureReason, openFuture, out, type
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 |
---|
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, doClose, doWriteExtendedData, getErr, getExitStatus, getIn, getOut, handleOpenFailure, handleOpenSuccess, handleRequest, open, setErr, setIn, setOut, waitFor
configureWindow, getId, getLocalWindow, getRecipient, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleWindowAdjust, init, sendEof, sendWindowAdjust
public ChannelDirectTcpip(SshdSocketAddress local, SshdSocketAddress remote)
protected OpenFuture internalOpen() throws Exception
internalOpen
in class AbstractClientChannel
Exception
protected void doOpen() throws Exception
doOpen
in class AbstractClientChannel
Exception
public OpenFuture open() throws Exception
Exception
protected void doWriteData(byte[] data, int off, int len) throws IOException
doWriteData
in class AbstractClientChannel
IOException
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.