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