Uses of Class
org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest
-
Packages that use JsonRpcRequest Package Description org.ovirt.vdsm.jsonrpc.client org.ovirt.vdsm.jsonrpc.client.internal org.ovirt.vdsm.jsonrpc.client.utils -
-
Uses of JsonRpcRequest in org.ovirt.vdsm.jsonrpc.client
Methods in org.ovirt.vdsm.jsonrpc.client that return JsonRpcRequest Modifier and Type Method Description JsonRpcRequest
RequestBuilder. build()
BuildsJsonRpcRequest
based on provided method name, parameter and generates id usingUUID
.static JsonRpcRequest
JsonRpcRequest. fromByteArray(byte[] message)
static JsonRpcRequest
JsonRpcRequest. fromJsonNode(com.fasterxml.jackson.databind.JsonNode node)
Validates and buildsJsonRpcRequest
based on provided json node.Methods in org.ovirt.vdsm.jsonrpc.client with parameters of type JsonRpcRequest Modifier and Type Method Description java.util.concurrent.Future<JsonRpcResponse>
JsonRpcClient. call(JsonRpcRequest req)
Sends single request and returnsFuture
representation ofJsonRpcResponse
.java.util.concurrent.Future<JsonRpcResponse>
JsonRpcClient. call(JsonRpcRequest req, BrokerCommandCallback callback)
private void
JsonRpcClient. retryCall(JsonRpcRequest request, JsonRpcCall call)
Method parameters in org.ovirt.vdsm.jsonrpc.client with type arguments of type JsonRpcRequest Modifier and Type Method Description java.util.concurrent.Future<java.util.List<JsonRpcResponse>>
JsonRpcClient. batchCall(java.util.List<JsonRpcRequest> requests)
Sends requests in batch and returnsFuture
representation ofJsonRpcResponse
.private void
JsonRpcClient. retryBatchCall(java.util.List<JsonRpcRequest> requests, BatchCall call)
-
Uses of JsonRpcRequest in org.ovirt.vdsm.jsonrpc.client.internal
Methods in org.ovirt.vdsm.jsonrpc.client.internal with parameters of type JsonRpcRequest Modifier and Type Method Description void
ResponseTracker. registerCall(JsonRpcRequest req, JsonRpcCall call)
void
ResponseTracker. registerTrackingRequest(JsonRpcRequest req, ResponseTracking tracking)
Method parameters in org.ovirt.vdsm.jsonrpc.client.internal with type arguments of type JsonRpcRequest Modifier and Type Method Description private void
BatchCall. updateIds(java.util.List<JsonRpcRequest> requests)
Constructors in org.ovirt.vdsm.jsonrpc.client.internal with parameters of type JsonRpcRequest Constructor Description Call(JsonRpcRequest req)
Call(JsonRpcRequest req, BrokerCommandCallback callback)
Constructor parameters in org.ovirt.vdsm.jsonrpc.client.internal with type arguments of type JsonRpcRequest Constructor Description BatchCall(java.util.List<JsonRpcRequest> requests)
BatchCall(java.util.List<JsonRpcRequest> requests, BrokerCommandCallback callback)
-
Uses of JsonRpcRequest in org.ovirt.vdsm.jsonrpc.client.utils
Fields in org.ovirt.vdsm.jsonrpc.client.utils declared as JsonRpcRequest Modifier and Type Field Description private JsonRpcRequest
ResponseTracking. request
Methods in org.ovirt.vdsm.jsonrpc.client.utils that return JsonRpcRequest Modifier and Type Method Description JsonRpcRequest
ResponseTracking. getRequest()
Methods in org.ovirt.vdsm.jsonrpc.client.utils with parameters of type JsonRpcRequest Modifier and Type Method Description static JsonRpcResponse
JsonUtils. buildFailedResponse(JsonRpcRequest request)
Method parameters in org.ovirt.vdsm.jsonrpc.client.utils with type arguments of type JsonRpcRequest Modifier and Type Method Description static byte[]
JsonUtils. jsonToByteArray(java.util.List<JsonRpcRequest> requests)
Constructors in org.ovirt.vdsm.jsonrpc.client.utils with parameters of type JsonRpcRequest Constructor Description ResponseTracking(JsonRpcRequest request, JsonRpcCall call, RetryContext context, long timeout, ReactorClient client, boolean resetConnection)
-