edu.ucdavis.rj.VM
Class RemoteRefs

java.lang.Object
  extended by edu.ucdavis.rj.VM.RemoteRefs
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class RemoteRefs
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Class representing a remote object. Contain one OpProxy for each instance operation in the remote object.

See Also:
Serialized Form

Method Summary
 java.lang.Object clone()
          Clones this object.
 OpProxy get(java.lang.String id)
          Returns the OpProxy within this RemoteRefs for the named operation.
static RemoteRefs getThisRemoteRefs(java.lang.Object obj)
          Equivalent to JR's this.remote.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public OpProxy get(java.lang.String id)
Returns the OpProxy within this RemoteRefs for the named operation.

Parameters:
id - the name of operation. (N.B., the name is a String.)
Returns:
the OpProxy for id.

getThisRemoteRefs

public static RemoteRefs getThisRemoteRefs(java.lang.Object obj)
Equivalent to JR's this.remote.

Parameters:
obj - an Object.
Returns:
RemoteRefs for obj.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones this object.

Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException