API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.rmi.server. RemoteRef View Source
Author(s)
Ann Wollrath
Since
JDK1.1
Version
1.24, 11/17/05
Serial
Hierarchy
 Serializable
      Externalizable
          RemoteRef
Subinterfaces
Description
public interface RemoteRef
  RemoteRef represents the handle for a remote object.
See also:    RemoteStub
Methods
Hide/Show inherited methods
@Deprecated
public void done (RemoteCall call) throws RemoteException
  Allows the remote reference to clean up (or reuse) the connection.
public String getRefClass (ObjectOutput out)
  Returns the class name of the ref type to be serialized onto the stream 'out'.
@Deprecated
public void invoke (RemoteCall call) throws Exception
  Executes the remote call.
public Object invoke (Remote obj, Method method, Object params, long opnum) throws Exception
  Invoke a method.
@Deprecated
public RemoteCall newCall (RemoteObject obj, Operation op, int opnum, long hash) throws RemoteException
  Creates an appropriate call object for a new remote method invocation on this object.
public boolean remoteEquals (RemoteRef obj)
  Compares two remote objects for equality.
public int remoteHashCode ()
  Returns a hashcode for a remote object.
public String remoteToString ()
  Returns a String that represents the reference of this remote object.
Fields
Hide/Show inherited fields
publicfinalstatic String packagePrefix = "sun.rmi.server"
Initialize the server package prefix: assumes that the implementation of server ref classes (e.g., UnicastRef, UnicastServerRef) are located in the package defined by the prefix.
publicfinalstatic long serialVersionUID = "3632638527362204081"
indicate compatibility with JDK 1.1.x version of class.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar