Class: RSMP::StatusUpdateMatcher
- Inherits:
-
StatusUpdateOrResponseMatcher
- Object
- Listener
- Collector
- Matcher
- StatusUpdateOrResponseMatcher
- RSMP::StatusUpdateMatcher
- Defined in:
- lib/rsmp/collect/message_matchers.rb
Overview
Class for waiting for specific status responses
Instance Attribute Summary
Attributes inherited from Matcher
Attributes inherited from Collector
#condition, #error, #messages, #status
Instance Method Summary collapse
-
#initialize(proxy, want, options = {}) ⇒ StatusUpdateMatcher
constructor
A new instance of StatusUpdateMatcher.
Methods inherited from StatusUpdateOrResponseMatcher
Methods inherited from Matcher
#build_query, #done?, #messages, #perform_match, #progress, #query_result, #query_status, #reached, #summary
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, want, options = {}) ⇒ StatusUpdateMatcher
Returns a new instance of StatusUpdateMatcher.
49 50 51 52 53 54 |
# File 'lib/rsmp/collect/message_matchers.rb', line 49 def initialize proxy, want, ={} super proxy, want, .merge( type: ['StatusUpdate','MessageNotAck'], title:'status update' ) end |