Class: ZZQ::Routing::QosTracker::PendingPublish
- Inherits:
-
Struct
- Object
- Struct
- ZZQ::Routing::QosTracker::PendingPublish
- Defined in:
- lib/zzq/routing/qos_tracker.rb
Overview
One outbound publication awaiting ack.
stage is one of:
* :waiting_puback — QoS 1, awaiting PUBACK
* :waiting_pubrec — QoS 2, awaiting PUBREC
* :waiting_pubcomp — QoS 2, PUBREC received, PUBREL sent
Instance Attribute Summary collapse
-
#packet ⇒ Object
Returns the value of attribute packet.
-
#packet_id ⇒ Object
Returns the value of attribute packet_id.
-
#promise ⇒ Object
Returns the value of attribute promise.
-
#stage ⇒ Object
Returns the value of attribute stage.
Instance Attribute Details
#packet ⇒ Object
Returns the value of attribute packet
23 24 25 |
# File 'lib/zzq/routing/qos_tracker.rb', line 23 def packet @packet end |
#packet_id ⇒ Object
Returns the value of attribute packet_id
23 24 25 |
# File 'lib/zzq/routing/qos_tracker.rb', line 23 def packet_id @packet_id end |
#promise ⇒ Object
Returns the value of attribute promise
23 24 25 |
# File 'lib/zzq/routing/qos_tracker.rb', line 23 def promise @promise end |
#stage ⇒ Object
Returns the value of attribute stage
23 24 25 |
# File 'lib/zzq/routing/qos_tracker.rb', line 23 def stage @stage end |