|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SeedingManager
Manages the location of seed peers.
Method Summary | |
---|---|
RouteAdvertisement[] |
getActiveSeedRoutes()
Returns the route advertisements of the active seed peers. |
URI[] |
getActiveSeedURIs()
Returns the URI of the endpoint addresses of the active seed
peers. |
boolean |
isAcceptablePeer(PeerAdvertisement peeradv)
Returns true if the provided peer advertisement is an acceptable
peer as determined by the seeding manager. |
boolean |
isAcceptablePeer(RouteAdvertisement radv)
Returns true if the provided route advertisement is an acceptable
peer as determined by the seeding manager. |
void |
stop()
Stop this seeding manager. |
Method Detail |
---|
void stop()
RouteAdvertisement[] getActiveSeedRoutes()
PeerID
if it is not
known.
URI[] getActiveSeedURIs()
URI
of the endpoint addresses of the active seed
peers. The URI
s are returned in the order which the consumer
should attempt to contact the seed peers.
Using the endpoint address URI
s is less optimal than using
the route advertisements as there is no association between the
potentially multiple message transport addresses referring to a single
peer.
URI
s of the active seed peers in the order
in which the seed peers should be contacted.boolean isAcceptablePeer(PeerAdvertisement peeradv)
true
if the provided peer advertisement is an acceptable
peer as determined by the seeding manager.
peeradv
- The PeerAdvertisement
of the peer being tested.boolean isAcceptablePeer(RouteAdvertisement radv)
true
if the provided route advertisement is an acceptable
peer as determined by the seeding manager.
radv
- The RouteAdvertisement
of the peer being tested.
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |