p2ps.imp.discovery
Interface DiscoveryServiceInterface
- All Known Implementing Classes:
- DiscoveryServiceImp
- public interface DiscoveryServiceInterface
An interface that allows the QueryHandler to answers to local queries directly.
- Version:
- $Revision: 295 $
- Author:
- Ian Wang
getReplyURIs
public java.net.URI[] getReplyURIs()
- Returns:
- the URI of the discovery service reply pipe.
getLocalAdvertisements
public Advertisement[] getLocalAdvertisements()
- Returns:
- all the advertisements in the local cache
notifyListeners
public void notifyListeners(Advertisement advert)
- Notify all the discovery listeners that an advert has been discovered