Class DefaultRpcClient

java.lang.Object
org.consensusj.jsonrpc.DefaultRpcClient
All Implemented Interfaces:
AutoCloseable, AsyncSupport, JsonRpcClient<JavaType>, JsonRpcTransport<JavaType>
Direct Known Subclasses:
BitcoinClient, EthereumClient

public class DefaultRpcClient extends Object implements JsonRpcClient<JavaType>
A strongly-typed, Jackson-based JSON-RPC client. JsonRpcClient provides many convenience send `default` methods in a JSON-library-independent way. DefaultRpcClient provides the needed implementation support for Jackson. This class implements the constructors, static fields, and getters, but delegates the core JsonRpcTransport.sendRequestForResponseAsync(JsonRpcRequest, Type) method to a JsonRpcTransport implementation component.