public class HTTP2Connection extends AbstractConnection
AbstractConnection.FillingInterestedCallback, AbstractConnection.NestedState, AbstractConnection.StateConnection.Listener| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOG |
FILL_INTERESTED, FILLING, FILLING_FILL_INTERESTED, IDLE, REFILLING| Constructor and Description |
|---|
HTTP2Connection(ByteBufferPool byteBufferPool,
Executor executor,
EndPoint endPoint,
Parser parser,
ISession session,
int bufferSize,
boolean dispatchIO) |
| Modifier and Type | Method and Description |
|---|---|
protected ISession |
getSession() |
void |
onClose() |
void |
onFillable() |
void |
onOpen() |
protected boolean |
onReadTimeout() |
protected int |
read(ByteBuffer buffer) |
addListener, close, failedCallback, fillInterested, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isDispatchIO, next, onFillInterestedFailed, setInputBufferSize, toStringprotected static final Logger LOG
public HTTP2Connection(ByteBufferPool byteBufferPool, Executor executor, EndPoint endPoint, Parser parser, ISession session, int bufferSize, boolean dispatchIO)
protected ISession getSession()
public void onOpen()
onOpen in interface ConnectiononOpen in class AbstractConnectionpublic void onClose()
onClose in interface ConnectiononClose in class AbstractConnectionpublic void onFillable()
onFillable in class AbstractConnectionprotected int read(ByteBuffer buffer)
protected boolean onReadTimeout()
onReadTimeout in class AbstractConnectionCopyright © 1995-2014 Webtide. All Rights Reserved.