corda / com.r3.enm.servicesapi.zone / ZoneProtocol

ZoneProtocol

enum class ZoneProtocol

Defines the protocol used by the Zone service RPC.

Enum Values

RPC_REQUEST

RPC_RESPONSE

PING

PING_RESPONSE

GET_CONFIG

GET_CONFIG_RESPONSE

Properties

fromStream

val fromStream: (<ERROR CLASS>) -> <ERROR CLASS><out <ERROR CLASS>>?

a lambda expression that can be used to invoke a static constructor type method on the corresponding message type to the protocol instance to convert a stream of bytes from the wire into that type