public abstract class ProxyConnection extends AbstractConnection
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo| Modifier | Constructor and Description |
|---|---|
protected |
ProxyConnection(EndPoint endp,
Executor executor,
ByteBufferPool bufferPool,
ConcurrentMap<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
ByteBufferPool |
getByteBufferPool() |
Connection |
getConnection() |
ConcurrentMap<String,Object> |
getContext() |
void |
onFillable() |
protected abstract int |
read(EndPoint endPoint,
ByteBuffer buffer) |
void |
setConnection(Connection connection) |
String |
toConnectionString() |
protected abstract void |
write(EndPoint endPoint,
ByteBuffer buffer,
Callback callback) |
addListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onOpen, onReadTimeout, removeListener, setInputBufferSize, toString, tryFillInterested, tryFillInterestedprotected static final Logger LOG
protected ProxyConnection(EndPoint endp, Executor executor, ByteBufferPool bufferPool, ConcurrentMap<String,Object> context)
public ByteBufferPool getByteBufferPool()
public ConcurrentMap<String,Object> getContext()
public Connection getConnection()
public void setConnection(Connection connection)
public void onFillable()
onFillable in class AbstractConnectionprotected abstract int read(EndPoint endPoint, ByteBuffer buffer) throws IOException
IOExceptionprotected abstract void write(EndPoint endPoint, ByteBuffer buffer, Callback callback)
public String toConnectionString()
toConnectionString in class AbstractConnectionCopyright © 1995–2017 Webtide. All rights reserved.