java.rmi.server
public final class ObjID extends Object implements Serializable
Field Summary | |
---|---|
static int | ACTIVATOR_ID
Defines the ID of the activator. |
static int | DGC_ID
Defines the ID of the distributed garbage collector. |
static int | REGISTRY_ID
Defines the ID of the naming service. |
Constructor Summary | |
---|---|
ObjID()
Create the new object id, unique for this host. | |
ObjID(int id)
Create the new object id defining the well known remotely accessible
object, present in this host. |
Method Summary | |
---|---|
boolean | equals(Object obj)
Compare for equality. |
int | hashCode()
Get the hashcode. |
static ObjID | read(ObjectInput in)
Read object id (as long), then the object {@link UID}. |
String | toString()
Get the string representation. |
void | write(ObjectOutput out)
Write object id as long, then the object {@link UID}. |
Parameters: id the well known object id, one of the above.