public interface RPCCallback
|Modifier and Type||Method and Description|
void execute(RPCResponse response, java.lang.Object rawData, RPCRequest request)
Callbackto evaluate when an RPCRequest completes.
response- response a RPCResponse encapsulating the server response to your request
rawData- rawData The "data" property from the RPCResponse, for convenience. The data can also be obtained via
RPCResponse.getDataAsObject(), depending on the type of data that is expected to be returned from the server.
request- the RPCRequest that was sent.