corda / net.corda.core.messaging / RPCOps

RPCOps

@DoNotImplement interface RPCOps

Base interface that all RPC servers must implement. Note: in Corda there's only one RPC interface. This base interface is here in case we split the RPC system out into a separate library one day.

Properties

protocolVersion

abstract val protocolVersion: Int

Returns the RPC protocol version. Exists since version 0 so guaranteed to be present.

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.

Inheritors

CordaRPCOps

interface CordaRPCOps : RPCOps

RPC operations that the node exposes to clients.