Class DRb::DRbObject
In: lib/drb/drb.rb
lib/drb/eq.rb
lib/drb/gw.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 a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.

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.