Class: RSMP::AggregatedStatusMatcher

Inherits:
Collector show all
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

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

#inspect, #inspector

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, options={}
  required = { type: ['AggregatedStatus','MessageNotAck'], title: 'aggregated status' }
  super proxy, options.merge(required)
end