Callback.Completable, Callback.Completing, Callback.Nested
Invocable.InvocationType
Modifier and Type | Field and Description |
---|---|
private LogicalConnection |
connection |
__nonBlocking
Constructor and Description |
---|
DisconnectCallback(LogicalConnection connection) |
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
private final LogicalConnection connection
public DisconnectCallback(LogicalConnection connection)
public void failed(java.lang.Throwable x)
Callback
Callback invoked when the operation fails.
public void succeeded()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
Callback.failed(Throwable)