prf::control::protocol::wire namespace

Enums

enum class AccessMode: uint8_t { ReadOnly = 0, WriteOnly = 1, ReadWrite = 2 }
Field access mode used by schema-target field metadata.
enum class AuthPolicy: uint8_t { PublicRead = 0, Signed = 1, AdminOnly = 2 }
Command authorization policy published in schema catalogs.
enum class Kind: uint8_t { SchemaCatalog = 0, SchemaTarget = 1, Data = 2, List = 3 }
Response payload family in response envelope (1=kind).
enum class MatchMode: uint8_t { Exact = 0, Prefix = 1 }
Command path matching mode published in schema catalogs.
enum class RequestKey: uint8_t { Path = 0, Args = 1 }
Canonical integer keys for decoded control request envelope.
enum class ResponseKey: uint8_t { Status = 0, Kind = 1, Path = 2, ErrorCode = 3, ErrorDetail = 4, Descriptors = 10, Groups = 11, Targets = 20, Fields = 21, Values = 30, Items = 40 }
Canonical integer keys used in control response envelope and payload sections.
enum class Status: uint8_t { Ok = 0, Error = 1 }
Operation result in response envelope (0=status).
enum class WireType: uint8_t { Bool = 0, Int64 = 1, UInt64 = 2, Double = 3, String = 4, Bytes = 5, Ip4 = 6 }
Scalar field type metadata used by schema-target field metadata.

Enum documentation

enum class prf::control::protocol::wire::RequestKey: uint8_t

Canonical integer keys for decoded control request envelope.

The request map supports exactly one required path and optional args map.

enum class prf::control::protocol::wire::ResponseKey: uint8_t

Canonical integer keys used in control response envelope and payload sections.

0..9 are shared envelope keys. 10..49 are kind-specific payload key ranges.