Interface JsonRpcCall
- All Known Implementing Classes:
Call
public interface JsonRpcCall
Abstraction for single and batch calls to be updated
when response arrives.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddResponse(JsonRpcResponse response) The callback to notify after the specific command was invoked.
-
Method Details
-
addResponse
- Parameters:
response- Added to current call object.
-
getCallback
BrokerCommandCallback getCallback()The callback to notify after the specific command was invoked.- Returns:
- The callback that receives the notification.
-