public class ChannelDirectTcpip extends AbstractServerChannel
Modifier and Type | Class and Description |
---|---|
static class |
ChannelDirectTcpip.Factory |
exitStatusSent
closeFuture, closing, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, id, localWindow, lock, log, recipient, remoteWindow, session
Constructor and Description |
---|
ChannelDirectTcpip() |
Modifier and Type | Method and Description |
---|---|
CloseFuture |
close(boolean immediately) |
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() |
void |
handleRequest(Buffer buffer) |
handleOpenFailure, handleOpenSuccess, open, sendExitStatus
configureWindow, doClose, getId, getLocalWindow, getRecipient, getSession, handleClose, handleData, handleExtendedData, handleFailure, handleWindowAdjust, init, sendEof, sendWindowAdjust
protected OpenFuture doInit(Buffer buffer)
doInit
in class AbstractServerChannel
public CloseFuture close(boolean immediately)
close
in interface Channel
close
in class AbstractChannel
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
public void handleRequest(Buffer buffer) throws IOException
handleRequest
in interface Channel
handleRequest
in class AbstractChannel
IOException
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.