public class ConnectHandler.DownstreamConnection extends ProxyConnection implements Connection.UpgradeTo
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeToLOG| Constructor and Description |
|---|
DownstreamConnection(EndPoint endPoint,
Executor executor,
ByteBufferPool bufferPool,
ConcurrentMap<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
void |
onOpen() |
void |
onUpgradeTo(ByteBuffer buffer) |
protected int |
read(EndPoint endPoint,
ByteBuffer buffer) |
protected void |
write(EndPoint endPoint,
ByteBuffer buffer,
Callback callback) |
getByteBufferPool, getConnection, getContext, onFillable, setConnection, toConnectionStringaddListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toString, tryFillInterested, tryFillInterestedpublic DownstreamConnection(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, ConcurrentMap<String,Object> context)
public void onUpgradeTo(ByteBuffer buffer)
onUpgradeTo in interface Connection.UpgradeTopublic 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–2017 Webtide. All rights reserved.