corda / net.corda.client.rpc / CordaRPCConnection

CordaRPCConnection

class CordaRPCConnection : RPCConnection<<ERROR CLASS>>

This class is essentially just a wrapper for an RPCConnection<CordaRPCOps> and can be treated identically.

See Also

RPCConnection

Properties

proxy

val proxy: <ERROR CLASS>

Holds a synthetic class that automatically forwards method calls to the server, and returns the response.

serverProtocolVersion

val serverProtocolVersion: Int

The RPC protocol version reported by the server.

Functions

forceClose

fun forceClose(): Unit

Closes this client without notifying the server.

notifyServerAndClose

fun notifyServerAndClose(): Unit

Closes this client gracefully by sending a notification to the server, so it can immediately clean up resources. If the server is not available this method may block for a short period until it's clear the server is not coming back.

Inherited Functions

close

open fun close(): Unit