corda / net.corda.client.rpc

Package net.corda.client.rpc

Types

CordaRPCClient

An RPC client connects to the specified server and allows you to make calls to the server that perform various useful tasks. Please see the Client RPC section of docs.corda.net to learn more about how this API works. A brief description is provided here.

class CordaRPCClient

CordaRPCClientConfiguration

Can be used to configure the RPC client connection.

open class CordaRPCClientConfiguration

CordaRPCConnection

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

class CordaRPCConnection : RPCConnection<CordaRPCOps>

GracefulReconnect

GracefulReconnect provides the opportunity to perform certain logic when the RPC encounters a connection disconnect during communication with the node.

class GracefulReconnect

RPCConnection

Holds a proxy object implementing I that forwards requests to the RPC server. The server version can be queried via this interface.

interface RPCConnection<out I : RPCOps> : Closeable

Annotations

RPCSinceVersion

Records the protocol version in which this RPC was added.

annotation class RPCSinceVersion

Exceptions

ConnectionFailureException

Signals that the underlying RPCConnection dropped.

open class ConnectionFailureException : RPCException

MaxRpcRetryException

Thrown to indicate an RPC operation has been retried for the maxNumberOfRetries unsuccessfully.

class MaxRpcRetryException : RPCException

PermissionException

Thrown to indicate that the calling user does not have permission for something they have requested (for example calling a method).

class PermissionException : CordaRuntimeException, RpcSerializableError, ClientRelevantError

RPCException

Thrown to indicate a fatal error in the RPC system itself, as opposed to an error generated by the invoked method.

open class RPCException : CordaRuntimeException

UnrecoverableRPCException

Thrown to indicate a fatal error in the RPC system which cannot be recovered from and so needs some manual support.

open class UnrecoverableRPCException : RPCException

Extensions for External Classes

rx.Observable