Example usage for Java org.apache.thrift.async AsyncMethodCallback fields, constructors, methods, implement or subclass
The text is from its open source code.
void | onComplete(T response) This method will be called when the remote side has completed invoking your method call and the result is fully read. |
void | onError(Exception exception) This method will be called when there is either an unexpected client-side exception like an IOException or else when the remote method raises an exception, either declared in the IDL or due to an unexpected server-side error. |