private static class HTTP2Session.StreamPromiseCallback extends java.lang.Object implements Callback
Callback.Completable, Callback.Completing, Callback.Nested
Invocable.InvocationType
Modifier and Type | Field and Description |
---|---|
private Promise<Stream> |
promise |
private IStream |
stream |
__nonBlocking
Modifier | Constructor and Description |
---|---|
private |
StreamPromiseCallback(Promise<Stream> promise,
IStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
void |
succeeded()
Callback invoked when the operation completes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocation
public void succeeded()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
Callback.failed(Throwable)