Class DRb::DRbObject
In: lib/drb/gw.rb
lib/drb/eq.rb
lib/drb/drb.rb
Parent: Object

Object wrapping a reference to a remote drb object.

Method calls on this object are relayed to the remote object that this object is a stub for.

Methods

Public Class methods

Unmarshall a marshalled DRbObject.

If the referenced object is located within the local server, then the object itself is returned. Otherwise, a new DRbObject is created to act as a stub for the remote referenced object.

Create a new remote object stub.

obj is the (local) object we want to create a stub for. Normally this is nil. uri is the URI of the remote object that this will be a stub for.

Create a new DRbObject from a URI alone.

Public Instance methods

Get the reference of the object, if local.

Get the URI of the remote object.

Marshall this object.

The URI and ref of the object are marshalled.

eql?(other)

Alias for #==

Routes method calls to the referenced object.

[Validate]

ruby-doc.org is hosted and run by James Britt and Rising Tide Software, a Ruby application development company in Phoenix, Arizona. Ruby-doc.org was created in 2002 to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.