public interface DiscoveryListener
| Modifier and Type | Method and Description |
|---|---|
void |
onServiceAdd(URI remoteURI)
Called when a DiscoveryAgent becomes aware of a new remote peer.
|
void |
onServiceRemove(URI remoteURI)
Called when a DiscoveryAgent can no longer detect a previously known remote peer.
|
void onServiceAdd(URI remoteURI)
remoteURI - the URI of the newly discovered peer.void onServiceRemove(URI remoteURI)
remoteURI - the URI of the previously discovered peer that is no longer active.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.