Skip to content

com.github.manosbatsis.corda.rpc.poolboy.pool.connection / SharedRpcClientsNodeRpcConnectionFactory

SharedRpcClientsNodeRpcConnectionFactory

class SharedRpcClientsNodeRpcConnectionFactory :AbstractRpcConnectionFactory

A NodeRpcConnection pool factory using CordaRPCClient shared based on a ClientKey, i.e. by address and RPC user name.

Types

Name Summary
ClientKey data class ClientKey

Constructors

Name Summary
<init> SharedRpcClientsNodeRpcConnectionFactory(nodeParamsService:RpcConfigurationService)
A NodeRpcConnection pool factory using CordaRPCClient shared based on a ClientKey, i.e. by address and RPC user name.

Properties

Name Summary
nodeParamsService val nodeParamsService:RpcConfigurationService

Functions

Name Summary
create fun create(key:PoolKey):NodeRpcConnection

Inherited Functions

Name Summary
destroyObject open fun destroyObject(key:PoolKey, p: PooledObject<NodeRpcConnection>): Unit
wrap open fun wrap(value:NodeRpcConnection): PooledObject<NodeRpcConnection>