|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.util.ACLSeedingManager
net.jxta.impl.util.RdvAdvSeedingManager
public class RdvAdvSeedingManager
Adds the ability to discover RdvAdvs via Discovery.
Field Summary | |
---|---|
(package private) List<RouteAdvertisement> |
discoveredRoutes
The Route Advertisements we have discovered. |
(package private) PeerGroup |
group
Group who's services we will utilize. |
(package private) static long |
MIN_REFRESH_INTERVAL
The minimum frequence at which we will update our seed lists. |
(package private) long |
nextRemoteDiscovery
The absolute time in milliseconds at which we may sen our next remote discovery. |
(package private) String |
serviceName
The identifier which we use to distinguish our RdvAdvertisements. |
Fields inherited from class net.jxta.impl.util.ACLSeedingManager |
---|
acl |
Constructor Summary | |
---|---|
RdvAdvSeedingManager(URI aclLocation,
PeerGroup group,
String serviceName)
Creates a new instance of RdvAdvSeedingManager |
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. |
void |
stop()
Stop this seeding manager. |
Methods inherited from class net.jxta.impl.util.ACLSeedingManager |
---|
isAcceptablePeer, isAcceptablePeer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final long MIN_REFRESH_INTERVAL
final PeerGroup group
final String serviceName
long nextRemoteDiscovery
final List<RouteAdvertisement> discoveredRoutes
Constructor Detail |
---|
public RdvAdvSeedingManager(URI aclLocation, PeerGroup group, String serviceName)
aclLocation
- The location of the ACL file or null
if no
ACL file should be used.Method Detail |
---|
public void stop()
public 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.public RouteAdvertisement[] getActiveSeedRoutes()
PeerID
if it is not
known.
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |