Parent

Included Modules

Class/Module Index [+]

Quicksearch

Ruote::NoOpParticipant

A participant that simply replies immediately to the engine.

For testing purposes, but could be useful when used in conjunction with 'listen'.

Public Class Methods

new(opts=nil) click to toggle source
# File lib/ruote/part/no_op_participant.rb, line 41
def initialize (opts=nil)

  @items = {}
end

Public Instance Methods

cancel(fei, flavour) click to toggle source
# File lib/ruote/part/no_op_participant.rb, line 54
def cancel (fei, flavour)

  # nothing to do
end
consume(workitem) click to toggle source

No operation : simply replies immediately to the engine.

# File lib/ruote/part/no_op_participant.rb, line 49
def consume (workitem)

  reply_to_engine(workitem)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.