Interface MDNSService


  • public interface MDNSService
    This interface defines how to use JmDNS based service discovery to register and unregister services on Bonjour/MDNS
    Author:
    Victor Belov - Initial contribution, Kai Kreuzer - Initial contribution
    • Method Detail

      • registerService

        void registerService​(ServiceDescription description)
        This method registers a service to be announced through Bonjour/MDNS
        Parameters:
        serviceDescription - the ServiceDescription instance with all details to identify the service
      • unregisterService

        void unregisterService​(ServiceDescription description)
        This method unregisters a service not to be announced through Bonjour/MDNS
        Parameters:
        serviceDescription - the ServiceDescription instance with all details to identify the service