public class TcpipServerChannel extends AbstractServerChannel
Modifier and Type | Class and Description |
---|---|
static class |
TcpipServerChannel.DirectTcpipFactory |
static class |
TcpipServerChannel.ForwardedTcpipFactory |
AbstractChannel.GracefulChannelCloseable, AbstractChannel.GracefulState
CloseableUtils.AbstractCloseable.State
exitStatusSent
DEFAULT_CHANNEL_CLOSE_TIMEOUT, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, gracefulFuture, gracefulState, handlers, id, localWindow, recipient, remoteWindow, service, session
closeFuture, lock, log, state
Constructor and Description |
---|
TcpipServerChannel(org.apache.sshd.common.forward.TcpipServerChannel.Type type) |
Modifier and Type | Method and Description |
---|---|
CloseFuture |
close(boolean immediately)
Close this resource asynchronously and return a future.
|
protected OpenFuture |
doInit(Buffer buffer) |
protected void |
doWriteData(byte[] data,
int off,
int len) |
protected void |
doWriteExtendedData(byte[] data,
int off,
int len) |
handleOpenFailure, handleOpenSuccess, open, sendExitStatus
addRequestHandler, configureWindow, doCloseImmediately, getId, getInnerCloseable, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleRequest, handleWindowAdjust, init, notifyStateChanged, sendEof, sendWindowAdjust, toString, writePacket
doCloseGracefully
builder, isClosed, isClosing, preClose
public TcpipServerChannel(org.apache.sshd.common.forward.TcpipServerChannel.Type type)
protected OpenFuture doInit(Buffer buffer)
doInit
in class AbstractServerChannel
public CloseFuture close(boolean immediately)
Closeable
protected void doWriteData(byte[] data, int off, int len) throws IOException
doWriteData
in class AbstractChannel
IOException
protected void doWriteExtendedData(byte[] data, int off, int len) throws IOException
doWriteExtendedData
in class AbstractChannel
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.