org.sapia.ubik.rmi.server.command
Class Destination
java.lang.Object
org.sapia.ubik.rmi.server.command.Destination
public class Destination
- extends java.lang.Object
Models a destination: a ServerAddress and a VmId.
- 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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Destination
public Destination(ServerAddress addr,
VmId vmId)
getServerAddress
public ServerAddress getServerAddress()
- Returns this instance's server address.
- Returns:
- a
ServerAddress.
getVmId
public VmId getVmId()
- Returns a
VmId.
- Returns:
- a
VmId.
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010 Sapia OSS. All Rights Reserved.