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