CordaRPCConnection - corda

corda / net.corda.client.rpc / CordaRPCConnection

# CordaRPCConnection

`class CordaRPCConnection : RPCConnection<CordaRPCOps>`

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

See Also

RPCConnection

### Properties

#### proxy | Holds a synthetic class that automatically forwards method calls to the server, and returns the response. `val proxy: CordaRPCOps`
#### serverProtocolVersion | The RPC protocol version reported by the server. `val serverProtocolVersion: Int`

### Functions

#### forceClose | Closes this client without notifying the server. `fun forceClose(): Unit`
#### getTelemetryHandle | Returns the configured openTelemetry global. Returns null if opentelemetry has not been configured. `fun <T> getTelemetryHandle(telemetryClass: Class<T>): T?`
#### notifyServerAndClose | 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. `fun notifyServerAndClose(): Unit`