Master Marv wrote:
>>   include DRbUndumped
> this seems to let the class reside wherever it has been generated.
> is it possible to generate a class on a drb client, copy it to the 
> server and then let it stay there (ie. further interaction with the 
> class should be made with the the class on the server and not with local 
> copies).

DRb has no real concept of a "server" or a "client" - connections can be 
opened and method calls made from either side.

You could originate your object, pass it across to another place, and at 
that point do
    obj.extend DRbUndumped
which will lock it there.

But perhaps more sensible is to pass across the *parameters* needed to 
make the object, i.e. have a class method on the server such as

  def Foo.make_status(*args)
    IEB_wrapper1.new(*args)
  end

and you share the Foo object via DRb.
-- 
Posted via http://www.ruby-forum.com/.