scuttlebutt-rpc / org.apache.tuweni.scuttlebutt.rpc

Package org.apache.tuweni.scuttlebutt.rpc

Types

RPCAsyncRequest

open class RPCAsyncRequest

RPCCodec

class RPCCodec

Encoder responsible for encoding requests.

This encoder is stateful as it maintains a counter to provide different request ids over time.

RPCErrorBody

open class RPCErrorBody

An RPC message response body which contains an error

RPCFlag

interface RPCFlag

Defines constants for dealing with SecureScuttlebutt RPC flags.

RPCFunction

open class RPCFunction

A scuttlebutt RPC function namespace and name representation.

RPCMessage

class RPCMessage

Decoded RPC message, making elements of the message available directly.

RPCRequestBody

open class RPCRequestBody

The request payload of an RPC request to another node. The fields are as specified in the scuttlebutt protocol docs

RPCRequestType

class RPCRequestType

The available type of Scuttlebutt RPC requests

RPCResponse

open class RPCResponse

A successful RPC response.

RPCStreamRequest

open class RPCStreamRequest

A request which returns a 'source' type result (e.g. opens up a stream that is followed by the request ID.)