The Class of Service has different semantics for direct and guaranteed messages. For direct messaging, it determines the WRR weight for the message. For guaranteed messaging, it indicates the discard eligibility of the message if the endpoint is congested (see LowPriorityMsgCongestion)
public enum UserCos
|0||The Default class of service for published messages, it represents the lowest value.|
The middle class of service value.
For guaranteed messaging, it is reserved for future use and is treated thes same as Cos1.
|2||The highest class of service value.|