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 SummaryModifier and TypeMethodDescriptionvoidaddDiscoveredService(DiscoveredService service) Add the service if needed.voidremoveDiscoveredService(DiscoveredService service) Remove the service from the list.
- 
Method Details- 
addDiscoveredServiceAdd 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
 
- 
removeDiscoveredServiceRemove the service from the list.- Parameters:
- service- the service to remove
 
 
-