Class: Ruote::Receiver

Inherits:
Object
  • Object
show all
Includes:
ReceiverMixin
Defined in:
lib/ruote/receiver/base.rb

Overview

A receiver is meant to receive workitems and feed them back into the engine (the storage actually).

Instance Method Summary collapse

Methods included from ReceiverMixin

#applied_workitem, #fetch_flow_expression, #launch, #receive, #reply, #reply_to_engine, #sign

Constructor Details

#initialize(cwes, options = {}) ⇒ Receiver

Accepts context, worker, engine or storage as first argument.



205
206
207
208
209
# File 'lib/ruote/receiver/base.rb', line 205

def initialize(cwes, options={})

  @context = cwes.context
  @options = options
end