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: CordaRPCOps Provides lazy access to a CordaRPCOps RPC proxy |
Inherited Properties¶
Name | Summary |
---|---|
rpcClient | val rpcClient: CordaRPCClient |
Inherited Functions¶
Name | Summary |
---|---|
createProxy | fun createProxy(): CordaRPCOps Attempt to obtain a CordaRPCConnection, retry five times with a five second delay in case of an RPCExceptionerror |
onPreDestroy | fun onPreDestroy(): Unit Try cleaning up on PreDestroy |
skipInfo | open fun skipInfo(): Boolean Controls ignoring this node when providing node infos |