API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.rmi.server. ObjID View Source
Author(s)
Ann Wollrath
Peter Jones
Since
JDK1.1
Version
1.31, 06/02/23
Serial
Hierarchy
 Object
      ObjID
Implements
 Serializable
Subclasses
Description
publicfinal class ObjID
  An ObjID is used to identify a remote object exported to an RMI runtime.
See also:   
Constructors
public ObjID ()
  Generates a unique object identifier.
public ObjID (int objNum)
  Creates a "well-known" object identifier.
private ObjID (long objNum, UID space)
Constructs an object identifier given data read from a stream.
Methods
Hide/Show inherited methods
public boolean equals (Object obj)
  Compares the specified object with this ObjID for equality.
public int hashCode ()
  Returns the hash code value for this object identifier, the object number.
publicstatic ObjID read (ObjectInput in) throws IOException
  Constructs and returns a new ObjID instance by unmarshalling a binary representation from an ObjectInput instance.
public String toString ()
  Returns a string representation of this object identifier.
public void write (ObjectOutput out) throws IOException
  Marshals a binary representation of this ObjID to an ObjectOutput instance.
Fields
Hide/Show inherited fields
publicfinalstatic int ACTIVATOR_ID = "1"
Object number for well-known ObjID of the activator.
publicfinalstatic int DGC_ID = "2"
Object number for well-known ObjID of the distributed garbage collector.
publicfinalstatic int REGISTRY_ID = "0"
Object number for well-known ObjID of the registry.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar