public class ConnectHandler.DownstreamConnection extends ProxyConnection
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo
LOG
Constructor and Description |
---|
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, toString
addListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isDispatchIO, isFillInterested, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSize
public DownstreamConnection(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, ConcurrentMap<String,Object> context, ByteBuffer buffer)
public void onOpen()
onOpen
in interface Connection
onOpen
in class AbstractConnection
protected int read(EndPoint endPoint, ByteBuffer buffer) throws IOException
read
in class ProxyConnection
IOException
protected void write(EndPoint endPoint, ByteBuffer buffer, Callback callback)
write
in class ProxyConnection
Copyright © 1995-2015 Webtide. All Rights Reserved.