| Package | Description |
|---|---|
| net.inveed.jsonrpc.client | |
| net.inveed.jsonrpc.client.builder | |
| net.inveed.jsonrpc.client.generator | |
| net.inveed.jsonrpc.client.metadata |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JsonRpcClient.onDemand(Class<T> clazz,
IdGenerator<?> idGenerator)
Creates a new proxy for accessing a remote JSON-RPC service through an interface
with a custom id generator that overrides the interface generator.
|
<T> T |
JsonRpcClient.onDemand(Class<T> clazz,
ParamsType paramsType,
IdGenerator<?> idGenerator)
Creates a new proxy for accessing a remote JSON-RPC service through an interface
with a custom id generator and custom type of request params.
|
| Constructor and Description |
|---|
ObjectApiBuilder(Class<?> clazz,
Transport transport,
com.fasterxml.jackson.databind.ObjectMapper mapper,
ParamsType userParamsType,
IdGenerator<?> userIdGenerator)
Crate a new proxy for an interface
|
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicLongIdGenerator
Return id from an atomic long counter
It's the most reliable and straightforward way to generate identifiers
|
class |
CurrentTimeIdGenerator
Return current time as id.
|
class |
SecureRandomIntIdGenerator
Generates secure random positive integers under limit
By default limit is 65536
|
class |
SecureRandomLongIdGenerator
Generate secure random positive long identifiers
|
class |
SecureRandomStringIdGenerator
Generate secure random strings consisting of HEX symbols with length of 40 characters
|
| Modifier and Type | Method and Description |
|---|---|
IdGenerator<?> |
ClassMetadata.getIdGenerator() |
| Constructor and Description |
|---|
ClassMetadata(ParamsType paramsType,
IdGenerator<?> idGenerator,
Map<Method,MethodMetadata> methods) |
Copyright © 2018. All rights reserved.