A
Andy Koch
Hello,
I'm working on a script which calls to a drb object. I'm wondering if
there is a way to invoke the drb process without the caller waiting for
the drb process to complete.
I'll be more descriptive. Here is my code...
##########################################################
DRb.start_service()
obj = DRbObject.new(nil, 'druby://localhost:9000')
args = Hash.new
# run back end processing, and carry on
obj.perforce_this(args)
##########################################################
What I'm hoping to find is a way such that the call
"obj.perforce_this(args)" can occur and the drb server can simply
respond like "message received" allowing the client to go on with it's
business while the server process completes it's new task.
Is this possible? Or do I need to go a different route?
regards,
andy koch
I'm working on a script which calls to a drb object. I'm wondering if
there is a way to invoke the drb process without the caller waiting for
the drb process to complete.
I'll be more descriptive. Here is my code...
##########################################################
DRb.start_service()
obj = DRbObject.new(nil, 'druby://localhost:9000')
args = Hash.new
# run back end processing, and carry on
obj.perforce_this(args)
##########################################################
What I'm hoping to find is a way such that the call
"obj.perforce_this(args)" can occur and the drb server can simply
respond like "message received" allowing the client to go on with it's
business while the server process completes it's new task.
Is this possible? Or do I need to go a different route?
regards,
andy koch