Interface DiscoveryAgent

    • Method Detail

      • setDiscoveryListener

        void setDiscoveryListener​(DiscoveryListener listener)
        Sets the discovery listener
        listener -
      • serviceFailed

        void serviceFailed​(DiscoveryEvent event)
                    throws IOException
        A process actively using a service may see it go down before the DiscoveryAgent notices the service's failure. That process can use this method to notify the DiscoveryAgent of the failure so that other listeners of this DiscoveryAgent can also be made aware of the failure.