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,
ExecutionStrategy.Factory executionFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getBytesIn() |
long |
getBytesOut() |
protected Parser |
getParser() |
ISession |
getSession() |
protected void |
offerTask(Runnable task,
boolean dispatch) |
void |
onClose() |
void |
onFillable() |
boolean |
onIdleExpired() |
void |
onOpen() |
protected void |
setInputBuffer(ByteBuffer buffer) |
addListener, failedCallback, fillInterested, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isDispatchIO, isFillInterested, onFillInterestedFailed, onReadTimeout, removeListener, setInputBufferSize, toString, tryFillInterested, tryFillInterestedprotected static final Logger LOG
public HTTP2Connection(ByteBufferPool byteBufferPool, Executor executor, EndPoint endPoint, Parser parser, ISession session, int bufferSize, ExecutionStrategy.Factory executionFactory)
public long getBytesIn()
getBytesIn in interface ConnectiongetBytesIn in class AbstractConnectionpublic long getBytesOut()
getBytesOut in interface ConnectiongetBytesOut in class AbstractConnectionpublic 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 AbstractConnectionpublic boolean onIdleExpired()
onIdleExpired in interface ConnectiononIdleExpired in class AbstractConnectionprotected void offerTask(Runnable task, boolean dispatch)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface Connectionclose in class AbstractConnectionCopyright © 1995–2017 Webtide. All rights reserved.