Interface IDiscoveryListener
- All Known Implementing Classes:
LateralTCPDiscoveryListener
public interface IDiscoveryListener
Interface for things that want to listen to discovery events. This will allow discovery to be
used outside of the TCP lateral.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDiscoveredService
(DiscoveredService service) Add the service if needed.void
removeDiscoveredService
(DiscoveredService service) Remove the service from the list.
-
Method Details
-
addDiscoveredService
Add the service if needed. This does not necessarily mean that the service is not already added. This can be called if there is a change in service information, such as the cacheNames.- Parameters:
service
- the service to add
-
removeDiscoveredService
Remove the service from the list.- Parameters:
service
- the service to remove
-