Class nw_listener_state_t


  • public final class nw_listener_state_t
    extends java.lang.Object
    [@typedef] nw_listener_state_t Listener states sent by nw_listener_set_state_changed_handler. States progress forward and do not move backwards.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int nw_listener_state_cancelled
      [@const] nw_listener_state_cancelled The listener has been cancelled by the caller
      static int nw_listener_state_failed
      [@const] nw_listener_state_failed The listener has irrecoverably closed or failed
      static int nw_listener_state_invalid
      [@const] nw_listener_state_invalid The state of the listener is not valid.
      static int nw_listener_state_ready
      [@const] nw_listener_state_ready The listener is ready and able to accept incoming connections
      static int nw_listener_state_waiting
      [@const] nw_listener_state_waiting The listener is waiting for a usable network before being able to receive connections
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nw_listener_state_invalid

        public static final int nw_listener_state_invalid
        [@const] nw_listener_state_invalid The state of the listener is not valid. This state will never be delivered in the listener's state update handler, and can be treated as an unexpected value.
        See Also:
        Constant Field Values
      • nw_listener_state_waiting

        public static final int nw_listener_state_waiting
        [@const] nw_listener_state_waiting The listener is waiting for a usable network before being able to receive connections
        See Also:
        Constant Field Values
      • nw_listener_state_ready

        public static final int nw_listener_state_ready
        [@const] nw_listener_state_ready The listener is ready and able to accept incoming connections
        See Also:
        Constant Field Values
      • nw_listener_state_failed

        public static final int nw_listener_state_failed
        [@const] nw_listener_state_failed The listener has irrecoverably closed or failed
        See Also:
        Constant Field Values
      • nw_listener_state_cancelled

        public static final int nw_listener_state_cancelled
        [@const] nw_listener_state_cancelled The listener has been cancelled by the caller
        See Also:
        Constant Field Values