Publish/Subscribe pattern in DRb

HI all,
I have 3 files.In pubsubserver.rb, I wrote the classes(according to RCR198). In Publisher.rb, i have created an object of main class and bound it to the server

server=Abc.new()
Drb.start_service('druby://:localhost:9000',server)
Drb.thread.join

and in another file client.rb, i am using this server object and subscribing...but it is not working..it is working in non distributed fashion...Can anybody guide?

--vinay

···

---------------------------------
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.

What do you mean by "it is not working"?

···

On Apr 28, 2006, at 10:07 PM, bujji choudhary wrote:

HI all,
I have 3 files.In pubsubserver.rb, I wrote the classes(according to RCR198). In Publisher.rb, i have created an object of main class and bound it to the server

server=Abc.new()
Drb.start_service('druby://:localhost:9000',server)
Drb.thread.join

and in another file client.rb, i am using this server object and subscribing...but it is not working..it is working in non distributed fashion...Can anybody guide?

--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com