Class: DRbQS::Worker::ForkedProcess

Inherits:
SimpleForkedProcess show all
Defined in:
lib/drbqs/worker/forked_process.rb

Instance Method Summary collapse

Methods inherited from SimpleForkedProcess

#initialize, #start

Constructor Details

This class inherits a constructor from DRbQS::Worker::SimpleForkedProcess

Instance Method Details

#calculate(marshal_obj, method_sym, args) ⇒ Object



64
65
66
67
68
# File 'lib/drbqs/worker/forked_process.rb', line 64

def calculate(marshal_obj, method_sym, args)
  result = super(marshal_obj, method_sym, args)
  transfer_files = DRbQS::Transfer.dequeue_all
  { :result => result, :transfer => transfer_files }
end