public class ChannelDirectTcpip extends AbstractClientChannel
AbstractChannel.GracefulChannelCloseable, AbstractChannel.GracefulState
CloseableUtils.AbstractCloseable.State
ClientChannel.Streaming
asyncErr, asyncIn, asyncOut, err, exitSignal, exitStatus, in, invertedErr, invertedIn, invertedOut, opened, openFailureMsg, openFailureReason, openFuture, out, streaming, type
DEFAULT_CHANNEL_CLOSE_TIMEOUT, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, gracefulFuture, gracefulState, handlers, id, localWindow, recipient, remoteWindow, service, session
closeFuture, lock, log, 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) |
InputStream |
getIn()
Deprecated.
Use
AbstractClientChannel.getInvertedOut() instead |
OutputStream |
getOut()
Deprecated.
Use
AbstractClientChannel.getInvertedIn() instead |
OpenFuture |
open() |
doWriteExtendedData, getAsyncErr, getAsyncIn, getAsyncOut, getErr, getExitStatus, getInnerCloseable, getInvertedErr, getInvertedIn, getInvertedOut, getStreaming, handleOpenFailure, handleOpenSuccess, handleWindowAdjust, open, setErr, setIn, setOut, setStreaming, waitFor
addRequestHandler, configureWindow, doCloseImmediately, getId, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleRequest, init, notifyStateChanged, sendEof, sendWindowAdjust, toString, writePacket
doCloseGracefully
builder, close, isClosed, isClosing, preClose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close
public ChannelDirectTcpip(SshdSocketAddress local, SshdSocketAddress remote)
public OpenFuture open() throws IOException
open
in interface ClientChannel
open
in class AbstractClientChannel
IOException
protected void doOpen() throws IOException
doOpen
in class AbstractClientChannel
IOException
@Deprecated public InputStream getIn()
AbstractClientChannel.getInvertedOut()
insteadgetIn
in class AbstractClientChannel
@Deprecated public OutputStream getOut()
AbstractClientChannel.getInvertedIn()
insteadgetOut
in class AbstractClientChannel
protected void doWriteData(byte[] data, int off, int len) throws IOException
doWriteData
in class AbstractClientChannel
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.