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

#fetch_flow_expression, #fetch_workitem, #flunk, #launch, #receive, #reply, #sign

Constructor Details

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

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



270
271
272
273
274
# File 'lib/ruote/receiver/base.rb', line 270

def initialize(cwes, options={})

  @context = cwes.context
  @options = options
end