Class: Gauge::MessageProcessor Private

Inherits:
Object
  • Object
show all
Extended by:
Processors
Defined in:
lib/message_processor.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Methods included from Processors

process_datastore_init, process_execute_step_request, process_execution_end_request, process_execution_start_request, process_kill_processor_request, process_scenario_execution_end_request, process_scenario_execution_start_request, process_spec_execution_end_request, process_spec_execution_start_request, process_step_execution_end_request, process_step_execution_start_request, process_step_name_request, process_step_names_request, process_step_validation_request, refactor_step

Methods included from Processors::ExecutionHandler

#create_param_values, #handle_failure, #handle_hooks_execution, #handle_pass, #screenshot_bytes, #time_elapsed_since

Class Method Details

.is_valid_message(message) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



47
48
49
# File 'lib/message_processor.rb', line 47

def self.is_valid_message(message)
  return @processors.has_key? message.messageType
end

.process_message(message) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



51
52
53
# File 'lib/message_processor.rb', line 51

def self.process_message(message)
  @processors[message.messageType].call message
end