public interface DiscoveryAgent
Modifier and Type | Method and Description |
---|---|
void |
registerService(java.net.URI serviceUri)
register a service
|
void |
reportFailed(java.net.URI serviceUri)
A process actively using a service may see it go down before the DiscoveryAgent notices the
service's failure.
|
void |
setDiscoveryListener(DiscoveryListener listener)
Sets the discovery listener
|
void |
unregisterService(java.net.URI serviceUri)
register a service
|
void setDiscoveryListener(DiscoveryListener listener)
listener
- void registerService(java.net.URI serviceUri) throws java.io.IOException
serviceUri
- java.io.IOException
void unregisterService(java.net.URI serviceUri) throws java.io.IOException
serviceUri
- java.io.IOException
void reportFailed(java.net.URI serviceUri) throws java.io.IOException
serviceUri
- java.io.IOException