|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.rendezvous.rpv.PeerViewDestination
class PeerViewDestination
This class contains only the comparable portion of PeerViewElement, so that it is possible to search for elements in the sorted set that the local PeerView is, without having enough information to create a valid PeerViewElement.
Constructor Summary | |
---|---|
PeerViewDestination(ID destination)
Constructs a PeerViewDestination from a (peer)ID. |
Method Summary | |
---|---|
int |
compareTo(PeerViewDestination pve)
Note that this compares the unique value of the id. |
boolean |
equals(Object other)
|
EndpointAddress |
getDestAddress()
returns the destination address. |
ID |
getPeerID()
Get the peer id of the peer associated with this connection. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
PeerViewDestination(ID destination)
Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(PeerViewDestination pve)
compareTo
in interface Comparable<PeerViewDestination>
public ID getPeerID()
public EndpointAddress getDestAddress()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |