Package io.zenoh.qos
Class QoS
-
- All Implemented Interfaces:
public final class QoSQuality of service settings used to send zenoh message.
-
-
Field Summary
Fields Modifier and Type Field Description private CongestionControlcongestionControlprivate Prioritypriorityprivate Booleanexpress
-
Constructor Summary
Constructors Constructor Description QoS(CongestionControl congestionControl, Priority priority, Boolean express)
-
Method Summary
Modifier and Type Method Description final CongestionControlgetCongestionControl()CongestionControl policy used for the message. final UnitsetCongestionControl(CongestionControl congestionControl)CongestionControl policy used for the message. final PrioritygetPriority()Priority policy used for the message. final UnitsetPriority(Priority priority)Priority policy used for the message. final BooleangetExpress()If true, the message is not batched in order to reduce the latency. final UnitsetExpress(Boolean express)If true, the message is not batched in order to reduce the latency. -
-
Constructor Detail
-
QoS
QoS(CongestionControl congestionControl, Priority priority, Boolean express)
-
-
Method Detail
-
getCongestionControl
final CongestionControl getCongestionControl()
CongestionControl policy used for the message.
-
setCongestionControl
final Unit setCongestionControl(CongestionControl congestionControl)
CongestionControl policy used for the message.
-
getPriority
final Priority getPriority()
Priority policy used for the message.
-
setPriority
final Unit setPriority(Priority priority)
Priority policy used for the message.
-
getExpress
final Boolean getExpress()
If true, the message is not batched in order to reduce the latency.
-
setExpress
final Unit setExpress(Boolean express)
If true, the message is not batched in order to reduce the latency.
-
-
-
-