Skip to content

com.github.manosbatsis.corda.rpc.poolboy.connection / AbstractNodeRpcConnection

AbstractNodeRpcConnection

abstract class AbstractNodeRpcConnection :NodeRpcConnection

Abstract implementation of NodeRpcConnection, wraps a CordaRPCClient

Constructors

Name Summary
<init> AbstractNodeRpcConnection(config:NodeRpcConnectionConfig, rpcClient: CordaRPCClient = createCordaRPCClient(config.nodeParams))
Abstract implementation of NodeRpcConnection, wraps a CordaRPCClient

Properties

Name Summary
rpcClient val rpcClient: CordaRPCClient

Inherited Properties

Name Summary
proxy abstract val proxy: CordaRPCOps
Obtain a CordaRPCOps proxy for this connection

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

Inheritors

Name Summary
EagerNodeRpcConnection open class EagerNodeRpcConnection :AbstractNodeRpcConnection
Eagerly initialised implementation of NodeRpcConnection, wraps a CordaRPCClient
LazyNodeRpcConnection open class LazyNodeRpcConnection :AbstractNodeRpcConnection
Lazily initialised implementation of NodeRpcConnection, wraps a CordaRPCClient