public class TcpipServerChannel extends AbstractServerChannel
Modifier and Type | Class and Description |
---|---|
static class |
TcpipServerChannel.DirectTcpipFactory |
static class |
TcpipServerChannel.ForwardedTcpipFactory |
exitStatusSent
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
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, getGracefulCloseable, getId, getInnerCloseable, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleRequest, handleWindowAdjust, init, notifyStateChanged, postClose, sendEof, sendWindowAdjust, toString, writePacket
doCloseGracefully, doCloseImmediately
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-2014 The Apache Software Foundation. All Rights Reserved.