Package | Description |
---|---|
com.rabbitmq.tools.jsonrpc |
JSON-RPC client and server classes for supporting JSON-RPC over an AMQP transport.
|
Modifier and Type | Method and Description |
---|---|
Object |
JsonRpcClient.call(String[] args)
Public API - as
JsonRpcClient.call(String,Object[]) , but takes the
method name from the first entry in args , and the
parameters from subsequent entries. |
Object |
JsonRpcClient.call(String method,
Object[] params)
Public API - builds, encodes and sends a JSON-RPC request, and
waits for the response.
|
static Object |
JsonRpcClient.checkReply(Map<String,Object> reply)
Private API - parses a JSON-RPC reply object, checking it for exceptions.
|
Constructor and Description |
---|
JsonRpcClient(Channel channel,
String exchange,
String routingKey) |
JsonRpcClient(Channel channel,
String exchange,
String routingKey,
int timeout)
Construct a new JsonRpcClient, passing the parameters through
to RpcClient's constructor.
|
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.