com.github.manosbatsis.corda.rpc.poolboy.connection / LazyNodeRpcConnection
LazyNodeRpcConnection¶
open class LazyNodeRpcConnection :AbstractNodeRpcConnection
Lazily initialised implementation of NodeRpcConnection, wraps a CordaRPCClient
Parameters¶
nodeParams - the RPC connection params
Constructors¶
| Name | Summary |
|---|---|
| <init> | LazyNodeRpcConnection(config:NodeRpcConnectionConfig)Lazily initialised implementation of NodeRpcConnection, wraps a CordaRPCClient |
Properties¶
| Name | Summary |
|---|---|
| proxy | open val proxy: CordaRPCOpsProvides lazy access to a CordaRPCOps RPC proxy |
Inherited Properties¶
| Name | Summary |
|---|---|
| rpcClient | val rpcClient: CordaRPCClient |
Inherited Functions¶
| Name | Summary |
|---|---|
| createProxy | fun createProxy(): CordaRPCOpsAttempt to obtain a CordaRPCConnection, retry five times with a five second delay in case of an RPCExceptionerror |
| onPreDestroy | fun onPreDestroy(): UnitTry cleaning up on PreDestroy |
| skipInfo | open fun skipInfo(): BooleanControls ignoring this node when providing node infos |