Package | Description |
---|---|
net.jini.discovery |
These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini Discovery and Join Specification.
|
Modifier and Type | Field and Description |
---|---|
private AbstractLookupLocatorDiscovery.LocatorReg |
AbstractLookupLocatorDiscovery.DiscoveryTask.reg |
Modifier and Type | Field and Description |
---|---|
private List<AbstractLookupLocatorDiscovery.LocatorReg> |
AbstractLookupLocatorDiscovery.discoveredLocators
Stores LookupLocators that have been discovered
|
private Set<AbstractLookupLocatorDiscovery.LocatorReg> |
AbstractLookupLocatorDiscovery.undiscoveredLocators
Stores LookupLocators that have not been discovered yet.
|
Modifier and Type | Method and Description |
---|---|
private AbstractLookupLocatorDiscovery.LocatorReg |
AbstractLookupLocatorDiscovery.findReg(LookupLocator lct)
From the sets of elements corresponding to yet-to-be-discovered
locators, this methods finds and returns the instance of LocatorReg
corresponding to the given LookupLocator.
|
private AbstractLookupLocatorDiscovery.LocatorReg |
AbstractLookupLocatorDiscovery.removeDiscoveredLocator(LookupLocator lct)
Convenience method used to remove the LocatorReg - corresponding to
the given LookupLocator - from the set of LocatorReg objects that
correspond to lookup services that have already been discovered.
|
Modifier and Type | Method and Description |
---|---|
private void |
AbstractLookupLocatorDiscovery.addAndQueueDiscoveryTaskIfAbsent(AbstractLookupLocatorDiscovery.LocatorReg reg)
Adds the given LocatorReg object to the set containing the objects
corresponding to the locators of desired lookup services that have
not yet been discovered, and queues a DiscoveryTask to attempt,
through unicast discovery, to discover the associated lookup service.
|
private boolean |
AbstractLookupLocatorDiscovery.regTryGetProxy(AbstractLookupLocatorDiscovery.LocatorReg reg)
Convenience method called from within the DiscoveryTask.
|
Constructor and Description |
---|
DiscoveryTask(AbstractLookupLocatorDiscovery.LocatorReg reg,
java.util.concurrent.ExecutorService executor,
WakeupManager wakeupMgr) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.