public class ConnectHandler.DownstreamConnection extends ProxyConnection
Connection.ListenerLOGEXECUTE_ONFILLABLE| Constructor and Description |
|---|
ConnectHandler.DownstreamConnection(EndPoint endPoint,
Executor executor,
ByteBufferPool bufferPool,
ConcurrentMap<String,Object> context,
ByteBuffer buffer) |
| 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.DownstreamConnection(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, ConcurrentMap<String,Object> context, ByteBuffer buffer)
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.