private class HTTP2Connection.NetworkBuffer extends RetainableByteBuffer implements Callback
Callback.Completable, Callback.Completing, Callback.Nested
Invocable.InvocationType
__nonBlocking
Modifier | Constructor and Description |
---|---|
private |
NetworkBuffer() |
Modifier and Type | Method and Description |
---|---|
private void |
completed(java.lang.Throwable failure) |
void |
failed(java.lang.Throwable failure)
Callback invoked when the operation fails.
|
Invocable.InvocationType |
getInvocationType() |
private void |
put(java.nio.ByteBuffer source) |
void |
succeeded()
Callback invoked when the operation completes.
|
getBuffer, getReferences, hasRemaining, isEmpty, release, retain, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInvocationType, invokeNonBlocking, isNonBlockingInvocation
private void put(java.nio.ByteBuffer source)
public void succeeded()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
Callback.failed(Throwable)
public void failed(java.lang.Throwable failure)
Callback
Callback invoked when the operation fails.
private void completed(java.lang.Throwable failure)
public Invocable.InvocationType getInvocationType()
getInvocationType
in interface Invocable