Class: SDN::CLI::MQTT::MessageAndRetries
- Inherits:
-
Struct
- Object
- Struct
- SDN::CLI::MQTT::MessageAndRetries
- Defined in:
- lib/sdn/cli/mqtt.rb
Overview
Queue entry wrapper containing an SDN message, retry budget, and scheduling priority.
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#remaining_retries ⇒ Object
Returns the value of attribute remaining_retries.
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
20 21 22 |
# File 'lib/sdn/cli/mqtt.rb', line 20 def @message end |
#priority ⇒ Object
Returns the value of attribute priority
20 21 22 |
# File 'lib/sdn/cli/mqtt.rb', line 20 def priority @priority end |
#remaining_retries ⇒ Object
Returns the value of attribute remaining_retries
20 21 22 |
# File 'lib/sdn/cli/mqtt.rb', line 20 def remaining_retries @remaining_retries end |