public class Address
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Address(Path path)
Create a local address.
|
Address(ServerId serverId,
Path path)
Create an address of an object on a server.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
arrayAsString(Address[] addresses)
Utility function for debugs.
|
boolean |
equals(java.lang.Object obj) |
Path |
getPath()
Get the path.
|
ServerId |
getServerId()
Get the ServerId.
|
int |
hashCode() |
java.lang.String |
toString() |
public Address(Path path)
path - The path to the component.public Path getPath()
public ServerId getServerId()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static java.lang.String arrayAsString(Address[] addresses)
addresses - Array of address.