|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.socket.EpochInetSocketAddress
public class EpochInetSocketAddress
Class which represets a source route to a remote IP address.
| Field Summary | |
|---|---|
protected java.net.InetSocketAddress |
address
|
protected long |
epoch
|
static long |
EPOCH_UNKNOWN
|
| Constructor Summary | |
|---|---|
EpochInetSocketAddress(java.net.InetSocketAddress address)
Constructor - don't use this unless you know what you are doing |
|
EpochInetSocketAddress(java.net.InetSocketAddress address,
long epoch)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Checks equaltiy on source routes |
java.net.InetSocketAddress |
getAddress()
Method which returns the address of this address |
long |
getEpoch()
Method which returns the epoch of this address |
int |
hashCode()
Returns the hashCode of this source route |
java.lang.String |
toString()
Internal method for computing the toString of an array of InetSocketAddresses |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long EPOCH_UNKNOWN
protected java.net.InetSocketAddress address
protected long epoch
| Constructor Detail |
|---|
public EpochInetSocketAddress(java.net.InetSocketAddress address)
address - The remote address
public EpochInetSocketAddress(java.net.InetSocketAddress address,
long epoch)
address - The remote addressepoch - The remote epoch| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Object
public boolean equals(java.lang.Object o)
equals in class java.lang.Object
o - The source route to compare to
public java.lang.String toString()
toString in class java.lang.Object
path - The path
public java.net.InetSocketAddress getAddress()
public long getEpoch()
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||