From: Joe Van Dyk Date: 2005-04-23T07:28:35+09:00 Subject: Re: DRb Question On 4/22/05, Joe Van Dyk wrote: > I have an object that's available via DRb. The class makes available > several strings and arrays for client viewing. > > I can access methods on the server that return strings fine. However, > I'm having difficulties accessing Array objects that are returned by > the server. The client code doesn't know anything about the main > server object, btw. > > Any ideas? > Here's another question regarding threads and DRb: Every second, a function in the class that's being made available via DRb should be called automatically. How would I do that? So I'd have class Server def update # stuff gets updated end end server = DRb.start_service.... # start threads that call server.update every second DRb.thread.join