Class: AggrRule
- Inherits:
-
Object
- Object
- AggrRule
- Defined in:
- lib/libowl/aggregator_rules.rb
Instance Attribute Summary collapse
-
#phy_layer ⇒ Object
Returns the value of attribute phy_layer.
-
#txers ⇒ Object
Returns the value of attribute txers.
-
#update_interval ⇒ Object
Returns the value of attribute update_interval.
Instance Method Summary collapse
-
#initialize(phy_layer, txers, update_interval) ⇒ AggrRule
constructor
Physical layer (1 byte), an array of transmitter/mask values, and an 8-byte update interval in milliseconds.
Constructor Details
#initialize(phy_layer, txers, update_interval) ⇒ AggrRule
Physical layer (1 byte), an array of transmitter/mask values, and an 8-byte update interval in milliseconds
16 17 18 19 20 |
# File 'lib/libowl/aggregator_rules.rb', line 16 def initialize(phy_layer, txers, update_interval) @phy_layer = phy_layer @txers = txers @update_interval = update_interval end |
Instance Attribute Details
#phy_layer ⇒ Object
Returns the value of attribute phy_layer.
13 14 15 |
# File 'lib/libowl/aggregator_rules.rb', line 13 def phy_layer @phy_layer end |
#txers ⇒ Object
Returns the value of attribute txers.
13 14 15 |
# File 'lib/libowl/aggregator_rules.rb', line 13 def txers @txers end |
#update_interval ⇒ Object
Returns the value of attribute update_interval.
13 14 15 |
# File 'lib/libowl/aggregator_rules.rb', line 13 def update_interval @update_interval end |