Class: RSMP::AggregatedStatusCollector
- Defined in:
- lib/rsmp/collect/aggregated_status_collector.rb
Overview
Class for waiting for an aggregated status response
Instance Attribute Summary
Attributes inherited from Collector
#condition, #error, #messages, #status, #task
Instance Method Summary collapse
-
#initialize(proxy, options = {}) ⇒ AggregatedStatusCollector
constructor
A new instance of AggregatedStatusCollector.
Methods inherited from Collector
#cancel, #cancelled?, #collect, #collect!, #collecting?, #complete, #describe_progress, #do_stop, #done?, #ingoing?, #inspect, #keep, #notify, #notify_disconnect, #notify_error, #notify_schema_error, #ok?, #outgoing?, #perform_match, #ready?, #reject_not_ack, #reset, #start, #timeout?, #type_match?, #use_task, #wait, #wait!
Methods inherited from Listener
#change_notifier, #listen, #notify, #notify_error
Methods included from Inspect
Constructor Details
#initialize(proxy, options = {}) ⇒ AggregatedStatusCollector
Returns a new instance of AggregatedStatusCollector.
4 5 6 7 |
# File 'lib/rsmp/collect/aggregated_status_collector.rb', line 4 def initialize proxy, ={} required = { type: ['AggregatedStatus','MessageNotAck'], title: 'aggregated status' } super proxy, .merge(required) end |