public class ConnectHandler.UpstreamConnection extends ProxyConnection
AbstractConnection.FillingInterestedCallback, AbstractConnection.NestedState, AbstractConnection.State
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo
LOG
EXECUTE_ONFILLABLE, FILL_INTERESTED, FILLING, FILLING_FILL_INTERESTED, IDLE, REFILLING
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, toString
addListener, close, failedCallback, fillInterested, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, next, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSize
public ConnectHandler.UpstreamConnection(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, ConnectHandler.ConnectContext connectContext)
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.