|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.server.ObjID
Field Summary | |
static int | ACTIVATOR_ID
well-known id for the activator |
static int | DGC_ID
well-known id for the distributed garbage collector |
static int | REGISTRY_ID
well-known id for the registry |
Constructor Summary | |
ObjID()
Generate unique object identifier. |
|
ObjID(int num)
Generate a "well-known" object ID. An object ID generated via this constructor will not clash with any object IDs generated via the default constructor. |
Method Summary | |
boolean | equals(Object obj)
Two object identifiers are considered equal if they have the same contents. |
int | hashCode()
The hashCode is the object number. |
static ObjID | read(ObjectInput in)
The read method constructs an object id whose contents is read from the specified input stream. |
String | toString()
Returns a string containing the object id representation. |
void | write(ObjectOutput out)
Marshal object id to output stream. |
Methods inherited from class java.lang.Object | |
clone , finalize , getClass , notify , notifyAll , wait , wait , wait |
Field Detail |
public static final int REGISTRY_ID
public static final int ACTIVATOR_ID
public static final int DGC_ID
Constructor Detail |
public ObjID()
public ObjID(int num)
num
- a unique well-known object numberMethod Detail |
public void write(ObjectOutput out) throws IOException
public static ObjID read(ObjectInput in) throws IOException
public int hashCode()
public boolean equals(Object obj)
public String toString()
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |