|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.OID
public class OID
This class models a unique remote object identifier. An instance of this class uniquely identifies a remote object, even among multiple VMs.
| Constructor Summary | |
|---|---|
OID()
Do not call; used for externalization only. |
|
OID(long id)
Creates an instance of this class with the given identifier string. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object other)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getCodebase()
|
int |
hashCode()
Creates a hashcode with this instance's internal ID string. |
void |
readExternal(java.io.ObjectInput in)
|
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OID()
public OID(long id)
| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecttrue if the object passed in is another object identifier
representing the same remote reference has this.
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionExternalizable.readExternal(ObjectInput)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionExternalizable.writeExternal(ObjectOutput)public java.lang.String getCodebase()
null if no such codebase has been set.public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||