Class: Itchy::EventHandlers::AvailablePrefixEventHandler

Inherits:
BaseEventHandler show all
Defined in:
lib/itchy/event_handlers/available_prefix_event_handler.rb

Overview

Handler for AvailablePrefix event (image will be available).

Constant Summary

Constants inherited from BaseEventHandler

BaseEventHandler::EVENT_FILE_REGEXP, BaseEventHandler::TEMPFILE_BASE

Instance Attribute Summary

Attributes inherited from BaseEventHandler

#options, #vmcatcher_configuration

Instance Method Summary collapse

Methods inherited from BaseEventHandler

#archive!, #initialize, #save_descriptor, #set_file_permissions

Constructor Details

This class inherits a constructor from Itchy::EventHandlers::BaseEventHandler

Instance Method Details

#handle!(vmcatcher_event, event_file) ⇒ Object



4
5
6
7
8
# File 'lib/itchy/event_handlers/available_prefix_event_handler.rb', line 4

def handle!(vmcatcher_event, event_file)
  super
  Itchy::Log.info "[#{self.class.name}] Handling #{vmcatcher_event.type.inspect}" \
    'This kind of event is just logged, nothing to process.'
end