http-rpc-client / net.corda.v5.httprpc.client

Package net.corda.v5.httprpc.client

Types

HttpRpcClient

HttpRpcClient is meant to run outside of Corda Node JVM and provide connectivity to a node using the HTTP-RPC protocol. Since Corda Node can expose multiple RPC interfaces through HTTP, it is required to specify which RPCOps interface should be used.

class HttpRpcClient<I : RPCOps> : AutoCloseable

HttpRpcConnection

Represents a logical connection to the HTTP RPC server which may go up and down. The proxy object can be used to make remote calls using the interface methods.

interface HttpRpcConnection<out I : RPCOps>

HttpRpcConnectionListener

Can be attached to HttpRpcClient to be informed about connection and disconnection events.

interface HttpRpcConnectionListener<I : RPCOps>