Interface AdvertiseListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Replaces previous pause/stop/destroy lifecycle methods, terminating the advertise worker and closing the datagram channel; may throw IOException.
      boolean isListening()
      Returns true if listener is accepting the advertise messages; false if the listener was stopped or is experiencing network problems.
    • Method Detail

      • isListening

        boolean isListening()
        Returns true if listener is accepting the advertise messages; false if the listener was stopped or is experiencing network problems.
      • close

        void close()
            throws IOException
        Replaces previous pause/stop/destroy lifecycle methods, terminating the advertise worker and closing the datagram channel; may throw IOException.
        Specified by:
        close in interface AutoCloseable
        Throws:
        IOException - If an I/O error occurs while closing the underlying channel.