Skip to content

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

AbstractRpcConnectionFactory

abstract class AbstractRpcConnectionFactory : BaseKeyedPooledObjectFactory<PoolKey,NodeRpcConnection>

Constructors

Name Summary
<init> AbstractRpcConnectionFactory()

Functions

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

Inheritors

Name Summary
DedicatedRpcClientsNodeRpcConnectionFactory class DedicatedRpcClientsNodeRpcConnectionFactory :AbstractRpcConnectionFactory
A NodeRpcConnection pool factory that uses a new CordaRPCClient fopr each connection.
RpcClientPoolBackedNodeRpcConnectionFactory class RpcClientPoolBackedNodeRpcConnectionFactory :AbstractRpcConnectionFactory
Pool factory for NodeRpcConnections backed by a nested CordaRPCClient pool
SharedRpcClientsNodeRpcConnectionFactory class SharedRpcClientsNodeRpcConnectionFactory :AbstractRpcConnectionFactory
A NodeRpcConnection pool factory using CordaRPCClient shared based on a ClientKey, i.e. by address and RPC user name.