startRpcClient

fun <I> startRpcClient(rpcOpsClass: Class<I>, rpcAddress: <Error class: unknown class>, username: String = rpcTestUser.username, password: String = rpcTestUser.password, configuration: CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT): <Error class: unknown class><I>

Starts a Netty RPC client.

Parameters

rpcOpsClass

The Class of the RPC interface.

rpcAddress

The address of the RPC server to connect to.

username

The username to authenticate with.

password

The password to authenticate with.

configuration

The RPC client configuration.


fun <I> startRpcClient(rpcOpsClass: Class<I>, rpcAddress: <Error class: unknown class>, username: String = rpcTestUser.username, password: String = rpcTestUser.password, configuration: CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, listeners: Iterable<RPCConnectionListener<I>> = emptyList()): <Error class: unknown class><<Error class: unknown class><RPCConnection<I>, RPCClient<I>>>

Starts a Netty RPC client.

Parameters

rpcOpsClass

The Class of the RPC interface.

rpcAddress

The address of the RPC server to connect to.

username

The username to authenticate with.

password

The password to authenticate with.

configuration

The RPC client configuration.

listeners

RPCConnectionListeners to be attached to the RPCClient


fun <I> startRpcClient(rpcOpsClass: Class<I>, haAddressPool: List<<Error class: unknown class>>, username: String = rpcTestUser.username, password: String = rpcTestUser.password, configuration: CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT): <Error class: unknown class><I>

Starts a Netty RPC client.

Parameters

rpcOpsClass

The Class of the RPC interface.

haAddressPool

The addresses of the RPC servers(configured in HA mode) to connect to.

username

The username to authenticate with.

password

The password to authenticate with.

configuration

The RPC client configuration.


fun <I> startRpcClient(rpcOpsClass: Class<I>, haAddressPool: List<<Error class: unknown class>>, username: String = rpcTestUser.username, password: String = rpcTestUser.password, configuration: CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, listeners: Iterable<RPCConnectionListener<I>> = emptyList()): <Error class: unknown class><<Error class: unknown class><RPCConnection<I>, RPCClient<I>>>

Starts a Netty RPC client.

Parameters

rpcOpsClass

The Class of the RPC interface.

haAddressPool

The addresses of the RPC servers(configured in HA mode) to connect to.

username

The username to authenticate with.

password

The password to authenticate with.

configuration

The RPC client configuration.

listeners

listeners to be attached upon creation