Java org.apache.thrift.async AsyncMethodCallback fields, constructors, methods, implement or subclass

Example usage for Java org.apache.thrift.async AsyncMethodCallback fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.thrift.async AsyncMethodCallback.

The text is from its open source code.

Implementation

org.apache.thrift.async.AsyncMethodCallback has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidonComplete(T response)
This method will be called when the remote side has completed invoking your method call and the result is fully read.
voidonError(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.