Drb object client - call and continue?

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

On Sat, 10 Feb 2007, Andy K. wrote:

DRb.start_service()
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

background = Thread.new{ drbobject.message }

background.value # blocks for value

-a