private static class OperationHelper.AsyncCallableWithConnectionAndSourceCallback extends java.lang.Object implements SingleResultCallback<AsyncConnectionSource>
Modifier and Type | Field and Description |
---|---|
private OperationHelper.AsyncCallableWithConnectionAndSource |
callable |
Constructor and Description |
---|
AsyncCallableWithConnectionAndSourceCallback(OperationHelper.AsyncCallableWithConnectionAndSource callable) |
Modifier and Type | Method and Description |
---|---|
void |
onResult(AsyncConnectionSource source,
java.lang.Throwable t)
Called when the operation completes.
|
private final OperationHelper.AsyncCallableWithConnectionAndSource callable
public AsyncCallableWithConnectionAndSourceCallback(OperationHelper.AsyncCallableWithConnectionAndSource callable)
public void onResult(AsyncConnectionSource source, java.lang.Throwable t)
SingleResultCallback
onResult
in interface SingleResultCallback<AsyncConnectionSource>
source
- the result, which may be null. Always null if e is not null.t
- the throwable, or null if the operation completed normally