Package | Description |
---|---|
org.ovirt.vdsm.jsonrpc.client | |
org.ovirt.vdsm.jsonrpc.client.internal | |
org.ovirt.vdsm.jsonrpc.client.utils |
Modifier and Type | Method and Description |
---|---|
JsonRpcRequest |
RequestBuilder.build()
Builds
JsonRpcRequest based on provided method name, parameter and
generates id using UUID . |
static JsonRpcRequest |
JsonRpcRequest.fromByteArray(byte[] message) |
static JsonRpcRequest |
JsonRpcRequest.fromJsonNode(org.codehaus.jackson.JsonNode node)
Validates and builds
JsonRpcRequest based on provided json node. |
Modifier and Type | Method and Description |
---|---|
Future<JsonRpcResponse> |
JsonRpcClient.call(JsonRpcRequest req)
Sends single request and returns
Future representation of JsonRpcResponse . |
Modifier and Type | Method and Description |
---|---|
Future<List<JsonRpcResponse>> |
JsonRpcClient.batchCall(List<JsonRpcRequest> requests)
Sends requests in batch and returns
Future representation of JsonRpcResponse . |
Modifier and Type | Method and Description |
---|---|
void |
ResponseTracker.registerCall(JsonRpcRequest req,
JsonRpcCall call) |
void |
ResponseTracker.registerTrackingRequest(JsonRpcRequest req,
ResponseTracking tracking) |
Constructor and Description |
---|
Call(JsonRpcRequest req) |
Constructor and Description |
---|
BatchCall(List<JsonRpcRequest> requests) |
Modifier and Type | Method and Description |
---|---|
JsonRpcRequest |
ResponseTracking.getRequest() |
Modifier and Type | Method and Description |
---|---|
static JsonRpcResponse |
JsonUtils.buildFailedResponse(JsonRpcRequest request) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
JsonUtils.jsonToByteArray(List<JsonRpcRequest> requests) |
Constructor and Description |
---|
ResponseTracking(JsonRpcRequest request,
JsonRpcCall call,
RetryContext context,
long timeout,
ReactorClient client,
boolean resetConnection) |
Copyright © 2016. All rights reserved.