Interface JsonRpcCall
-
- All Known Implementing Classes:
Call
public interface JsonRpcCall
Abstraction for single and batch calls to be updated when response arrives.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addResponse(JsonRpcResponse response)
BrokerCommandCallback
getCallback()
The callback to notify after the specific command was invoked.
-
-
-
Method Detail
-
addResponse
void addResponse(JsonRpcResponse response)
- 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.
-
-