public class ChannelAgentForwarding extends AbstractServerChannel
Modifier and Type | Class and Description |
---|---|
static class |
ChannelAgentForwarding.Factory |
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 |
---|
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, sendExitStatus
addRequestHandler, configureWindow, doCloseImmediately, getId, getInnerCloseable, getLocalWindow, getRecipient, getRemoteWindow, getSession, handleClose, handleData, handleExtendedData, handleFailure, handleRequest, handleWindowAdjust, init, notifyStateChanged, sendEof, sendWindowAdjust, toString, writePacket
doCloseGracefully
builder, isClosed, isClosing, preClose
protected OpenFuture doInit(Buffer buffer)
doInit
in class AbstractServerChannel
public CloseFuture close(boolean immediately)
Closeable
public void handleEof() throws IOException
handleEof
in interface Channel
handleEof
in class AbstractChannel
IOException
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–2018 The Apache Software Foundation. All rights reserved.