public interface JsonRpcCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(IOException ex)
Called when an error occured during the Http Request.
|
void |
onResponse(JsonRpcResponse<T> result)
Called when response has been received from remote server.
|
void onResponse(@Nullable JsonRpcResponse<T> result)
result - the parsed JsonRpcResponse, or null if none returnedvoid onFailure(IOException ex)
ex - the exceptionCopyright © 2017. All rights reserved.