Package io.zenoh.qos
Class QoS
-
- All Implemented Interfaces:
public final class QoS
Quality of service settings used to send zenoh message.
-
-
Field Summary
Fields Modifier and Type Field Description private CongestionControl
congestionControl
private Priority
priority
private Boolean
express
-
Constructor Summary
Constructors Constructor Description QoS(CongestionControl congestionControl, Priority priority, Boolean express)
-
Method Summary
Modifier and Type Method Description final CongestionControl
getCongestionControl()
CongestionControl policy used for the message. final Unit
setCongestionControl(CongestionControl congestionControl)
CongestionControl policy used for the message. final Priority
getPriority()
Priority policy used for the message. final Unit
setPriority(Priority priority)
Priority policy used for the message. final Boolean
getExpress()
If true, the message is not batched in order to reduce the latency. final Unit
setExpress(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.
-
-
-
-