public interface JsonRpcRequestSender
| Modifier and Type | Method and Description |
|---|---|
void |
sendNotification(java.lang.String method) |
void |
sendNotification(java.lang.String method,
java.lang.Object params) |
void |
sendNotification(java.lang.String method,
java.lang.Object params,
Continuation<JsonElement> continuation) |
Response<JsonElement> |
sendRequest(Request<JsonObject> request) |
void |
sendRequest(Request<JsonObject> request,
Continuation<Response<JsonElement>> continuation) |
JsonElement |
sendRequest(java.lang.String method) |
<R> R |
sendRequest(java.lang.String method,
java.lang.Class<R> resultClass) |
void |
sendRequest(java.lang.String method,
JsonObject params,
Continuation<JsonElement> continuation) |
JsonElement |
sendRequest(java.lang.String method,
java.lang.Object params) |
<R> R |
sendRequest(java.lang.String method,
java.lang.Object params,
java.lang.Class<R> resultClass) |
Response<JsonElement> |
sendRequestHonorId(Request<JsonObject> request) |
void |
sendRequestHonorId(Request<JsonObject> request,
Continuation<Response<JsonElement>> continuation) |
<R> R sendRequest(java.lang.String method,
java.lang.Class<R> resultClass)
throws java.io.IOException
java.io.IOException<R> R sendRequest(java.lang.String method,
java.lang.Object params,
java.lang.Class<R> resultClass)
throws java.io.IOException
java.io.IOExceptionJsonElement sendRequest(java.lang.String method)
throws java.io.IOException
java.io.IOExceptionJsonElement sendRequest(java.lang.String method,
java.lang.Object params)
throws java.io.IOException
java.io.IOExceptionResponse<JsonElement> sendRequest(Request<JsonObject> request) throws java.io.IOException
java.io.IOExceptionResponse<JsonElement> sendRequestHonorId(Request<JsonObject> request) throws java.io.IOException
java.io.IOExceptionvoid sendNotification(java.lang.String method,
java.lang.Object params)
throws java.io.IOException
java.io.IOExceptionvoid sendNotification(java.lang.String method)
throws java.io.IOException
java.io.IOExceptionvoid sendRequest(java.lang.String method,
JsonObject params,
Continuation<JsonElement> continuation)
void sendRequest(Request<JsonObject> request, Continuation<Response<JsonElement>> continuation) throws java.io.IOException
java.io.IOExceptionvoid sendRequestHonorId(Request<JsonObject> request, Continuation<Response<JsonElement>> continuation) throws java.io.IOException
java.io.IOExceptionvoid sendNotification(java.lang.String method,
java.lang.Object params,
Continuation<JsonElement> continuation)
throws java.io.IOException
java.io.IOException