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

- (Receiver) initialize(cwes, options = {})

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



326
327
328
329
330
# File 'lib/ruote/receiver/base.rb', line 326

def initialize(cwes, options={})

  @context = cwes.context
  @options = options
end