@@ -92,9 +92,9 @@ data class ReplyOptions(
9292 var encoding : Encoding = Encoding .defaultEncoding(),
9393 var timeStamp : TimeStamp ? = null ,
9494 var attachment : IntoZBytes ? = null ,
95- var express : Boolean = QoS .defaultQoS .express,
96- var congestionControl : CongestionControl = QoS .defaultQoS .congestionControl,
97- var priority : Priority = QoS .defaultQoS .priority
95+ var express : Boolean = QoS .defaultResponse .express,
96+ var congestionControl : CongestionControl = QoS .defaultResponse .congestionControl,
97+ var priority : Priority = QoS .defaultResponse .priority
9898) {
9999 fun setAttachment (attachment : String ) = apply { this .attachment = ZBytes .from(attachment) }
100100}
@@ -111,9 +111,9 @@ data class ReplyOptions(
111111data class ReplyDelOptions (
112112 var timeStamp : TimeStamp ? = null ,
113113 var attachment : IntoZBytes ? = null ,
114- var express : Boolean = QoS .defaultQoS .express,
115- var congestionControl : CongestionControl = QoS .defaultQoS .congestionControl,
116- var priority : Priority = QoS .defaultQoS .priority
114+ var express : Boolean = QoS .defaultResponse .express,
115+ var congestionControl : CongestionControl = QoS .defaultResponse .congestionControl,
116+ var priority : Priority = QoS .defaultResponse .priority
117117) {
118118 fun setAttachment (attachment : String ) = apply { this .attachment = ZBytes .from(attachment) }
119119}
0 commit comments