Sha256: bace587097ccc687b4a24fd21f68ed7d89815954dc821cb13422472e8ba75bb2

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 Bytes

Contents

module SimpleWorker
  class AbstractListener

    def on_start(jobid)
    end

    def on_stop
    end

    def on_node_start(hostname)
    end

    def on_node_stop(hostname)
    end

    def on_task_start(hostname, task)
    end

    def on_task_active(hostname, task)
    end

    def on_task_stop(hostname, task)
    end

    def on_task_expire(hostname, task)
    end

    def on_log(hostname, msg)
    end

    def on_interrupted
    end

    def on_timeout
    end

    def update(meth, *args)
      __send__(meth, *args)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simpleworker-0.1.1 lib/simpleworker/abstract_listener.rb
simpleworker-0.1.0 lib/simpleworker/abstract_listener.rb