Package com.smartgwt.client.rpc
Interface RPCCallback
public interface RPCCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(RPCResponse response, Object rawData, RPCRequest request) ACallbackto evaluate when an RPCRequest completes.
-
Method Details
-
execute
ACallbackto evaluate when an RPCRequest completes.- Parameters:
response- response a RPCResponse encapsulating the server response to your requestrawData- rawData The "data" property from the RPCResponse, for convenience. The data can also be obtained viaRPCResponse.getDataAsMap(),RPCResponse.getDataAsString(), orRPCResponse.getDataAsObject(), depending on the type of data that is expected to be returned from the server.request- the RPCRequest that was sent.- See Also:
-