org.sapia.ubik.rmi.server
Class VmId
java.lang.Object
org.sapia.ubik.rmi.server.VmId
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class VmId
- extends java.lang.Object
- implements java.io.Externalizable
A VM unique identifier.
- Author:
- Yanick Duchesne
- Copyright:
- Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
- License:
- Read the license.txt file of the jar or visit the
license page at the Sapia OSS web site
- See Also:
- Serialized Form
|
Constructor Summary |
VmId()
Do not use; meant for externalization only. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
VmId
public VmId()
- Do not use; meant for externalization only.
getInstance
public static VmId getInstance()
- Returns:
- the singleton instance of this VM's VmId.
equals
public boolean equals(VmId other)
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
- See Also:
Object.hashCode()
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException- See Also:
Externalizable.readExternal(ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
- Throws:
java.io.IOException- See Also:
Externalizable.writeExternal(ObjectOutput)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010 Sapia OSS. All Rights Reserved.