Interface ServiceDiscovererEvent<ResolvedAddress>

  • Type Parameters:
    ResolvedAddress - the type of address after resolution.
    All Known Subinterfaces:
    All Known Implementing Classes:

    public interface ServiceDiscovererEvent<ResolvedAddress>
    Notification from the Service Discovery system that availability for an address has changed.
    • Method Detail

      • address

        ResolvedAddress address()
        Get the resolved address which is the subject of this event.
        a resolved address that can be used for connecting.
      • isAvailable

        boolean isAvailable()
        Determine if address() is now available or unavailable.
        true if address() is now available or false if the address() is now unavailable.