class OFlow::Actors::Relay

Relays a shipment to another location. This is useful for creating aliases for a Task.

Public Class Methods

new(task, options) click to toggle source
Calls superclass method OFlow::Actor::new
# File lib/oflow/actors/relay.rb, line 9
def initialize(task, options)
  super
end

Public Instance Methods

perform(op, box) click to toggle source
# File lib/oflow/actors/relay.rb, line 13
def perform(op, box)
  task.ship(op, box)
end
with_own_thread() click to toggle source
# File lib/oflow/actors/relay.rb, line 17
def with_own_thread()
  false
end