public class ChannelAgentForwarding extends AbstractServerChannel
AbstractChannel.GracefulChannelCloseable, AbstractChannel.GracefulStateCloseableUtils.AbstractCloseable.StateexitStatusSentDEFAULT_CHANNEL_CLOSE_TIMEOUT, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, executor, gracefulFuture, gracefulState, handlers, id, localWindow, recipient, remoteWindow, RESPONSE_BUFFER_GROWTH_FACTOR, service, session, shutdownExecutorcloseFuture, lock, statelog| Constructor and Description |
|---|
ChannelAgentForwarding() |
| 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) |
void |
handleEof() |
handleOpenFailure, handleOpenSuccess, open, sendExitStatusaddRequestHandler, configureWindow, doCloseImmediately, getExecutorService, getId, getInnerCloseable, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleExtendedData, handleFailure, handleRequest, handleWindowAdjust, init, isEofSignalled, isShutdownOnExit, notifyStateChanged, sendEof, sendResponse, sendWindowAdjust, setEofSignalled, setExecutorService, setShutdownOnExit, toString, writePacketdoCloseGracefullybuilder, isClosed, isClosing, preCloseclose, isOpenprotected OpenFuture doInit(Buffer buffer)
doInit in class AbstractServerChannelpublic CloseFuture close(boolean immediately)
Closeableclose in class CloseableUtils.AbstractCloseableimmediately - true if the resource should be shut down abruptly,
false for a graceful closepublic void handleEof()
throws IOException
handleEof in class AbstractChannelIOExceptionprotected void doWriteData(byte[] data,
int off,
int len)
throws IOException
doWriteData in class AbstractChannelIOExceptionprotected void doWriteExtendedData(byte[] data,
int off,
int len)
throws IOException
doWriteExtendedData in class AbstractChannelIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.