Priority enum

The priority of a zenoh message.

Values are ordered from highest priority (realTime) to lowest (background). The zenoh-c integer values are index + 1 (1–7).

Inheritance
Available extensions

Values

realTime → const Priority

Highest priority (wire value 1), for latency-critical control traffic.

const Priority(1)
interactiveHigh → const Priority

High-priority interactive traffic (wire value 2).

const Priority(2)
interactiveLow → const Priority

Lower-priority interactive traffic (wire value 3).

const Priority(3)
dataHigh → const Priority

High-priority data traffic (wire value 4).

const Priority(4)
data → const Priority

Default data priority (wire value 5).

const Priority(5)
dataLow → const Priority

Low-priority data traffic (wire value 6).

const Priority(6)
background → const Priority

Lowest priority (wire value 7), yielding to all other traffic.

const Priority(7)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The zenoh-c wire value. Explicit; never derived from declaration order.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromWire(int raw) Priority
Decodes a zenoh-c wire priority value (1–7) into a Priority.

Constants

values → const List<Priority>
A constant List of the values in this enum, in order of their declaration.