| Constructor and Description |
|---|
VoidCallbackAdapter(Callback<Void> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
operationFailed(Object ctx,
PubSubException exception)
This method is called when the operation failed due to some reason.
|
void |
operationFinished(Object ctx,
T resultOfOperation)
This method is called when the asynchronous operation finishes
|
public void operationFinished(Object ctx, T resultOfOperation)
CallbackoperationFinished in interface Callback<T>public void operationFailed(Object ctx, PubSubException exception)
CallbackoperationFailed in interface Callback<T>ctx - The context for the callbackexception - The reason for the failure of the scanCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.