public class ConnectHandler.UpstreamConnection extends ProxyConnection
Connection.ListenerLOGEXECUTE_ONFILLABLE| Constructor and Description |
|---|
ConnectHandler.UpstreamConnection(EndPoint endPoint,
Executor executor,
ByteBufferPool bufferPool,
ConnectHandler.ConnectContext connectContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
onOpen() |
protected int |
read(EndPoint endPoint,
ByteBuffer buffer) |
protected void |
write(EndPoint endPoint,
ByteBuffer buffer,
Callback callback) |
getByteBufferPool, getConnection, getContext, onFillable, setConnection, toStringaddListener, block, close, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSizepublic ConnectHandler.UpstreamConnection(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, ConnectHandler.ConnectContext connectContext)
public void onOpen()
onOpen in interface ConnectiononOpen in class AbstractConnectionprotected int read(EndPoint endPoint, ByteBuffer buffer) throws IOException
read in class ProxyConnectionIOExceptionprotected void write(EndPoint endPoint, ByteBuffer buffer, Callback callback)
write in class ProxyConnectionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.