class Evesync::Watcher::Interface

Base watcher abstract class with methods for other watchers to implement

Public Class Methods

new(_queue) click to toggle source

The class must be initialized with the queue object

# File lib/evesync/watcher/interface.rb, line 7
def initialize(_queue)
  raise NotImplementedError, "must implement 'initialize'"
end

Public Instance Methods

start() click to toggle source

The watcher must be able to handle start and stop calls

# File lib/evesync/watcher/interface.rb, line 12
def start
  raise NotImplementedError, "must implement 'start'"
end
stop() click to toggle source
# File lib/evesync/watcher/interface.rb, line 16
def stop
  raise NotImplementedError, "must implement 'stop'"
end