Class: OpenC3::ReactionShare
- Defined in:
- lib/openc3/microservices/reaction_microservice.rb
Overview
Shared between the monitor thread and the manager thread to share the resources.
Instance Attribute Summary collapse
-
#queue_base ⇒ Object
readonly
Returns the value of attribute queue_base.
-
#reaction_base ⇒ Object
readonly
Returns the value of attribute reaction_base.
-
#snooze_base ⇒ Object
readonly
Returns the value of attribute snooze_base.
Instance Method Summary collapse
-
#initialize(scope:) ⇒ ReactionShare
constructor
A new instance of ReactionShare.
Constructor Details
#initialize(scope:) ⇒ ReactionShare
Returns a new instance of ReactionShare.
209 210 211 212 213 |
# File 'lib/openc3/microservices/reaction_microservice.rb', line 209 def initialize(scope:) @reaction_base = ReactionBase.new(scope: scope) @queue_base = QueueBase.new(scope: scope) @snooze_base = SnoozeBase.new(scope: scope) end |
Instance Attribute Details
#queue_base ⇒ Object (readonly)
Returns the value of attribute queue_base.
207 208 209 |
# File 'lib/openc3/microservices/reaction_microservice.rb', line 207 def queue_base @queue_base end |
#reaction_base ⇒ Object (readonly)
Returns the value of attribute reaction_base.
207 208 209 |
# File 'lib/openc3/microservices/reaction_microservice.rb', line 207 def reaction_base @reaction_base end |
#snooze_base ⇒ Object (readonly)
Returns the value of attribute snooze_base.
207 208 209 |
# File 'lib/openc3/microservices/reaction_microservice.rb', line 207 def snooze_base @snooze_base end |