T
- the type passed to the onSuccess(Object)
method.public interface AsyncCallbackPair<T>
onSuccess(Object)
and onFailure(String)
.void onFailure(java.lang.String message)
message
- a message to be consumed by the procedure that
set up the callback pairvoid onSuccess(T result)
result
- the return value of asynchronous operation