public class HTTP2Connection extends AbstractConnection
| Modifier and Type | Class and Description |
|---|---|
protected class |
HTTP2Connection.HTTP2Producer |
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo| Constructor and Description |
|---|
HTTP2Connection(ByteBufferPool byteBufferPool,
Executor executor,
EndPoint endPoint,
Parser parser,
ISession session,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
protected Parser |
getParser() |
ISession |
getSession() |
protected void |
offerTask(Runnable task,
boolean dispatch) |
void |
onClose() |
void |
onFillable() |
void |
onOpen() |
protected boolean |
onReadTimeout() |
protected void |
setInputBuffer(ByteBuffer buffer) |
addListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isDispatchIO, isFillInterested, onFillInterestedFailed, setInputBufferSize, toStringprotected static final Logger LOG
public HTTP2Connection(ByteBufferPool byteBufferPool, Executor executor, EndPoint endPoint, Parser parser, ISession session, int bufferSize)
public ISession getSession()
protected Parser getParser()
protected void setInputBuffer(ByteBuffer buffer)
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 boolean onReadTimeout()
onReadTimeout in class AbstractConnectionprotected void offerTask(Runnable task, boolean dispatch)
Copyright © 1995-2015 Webtide. All Rights Reserved.