Class IdleStateEvent

    • Field Detail

      • FIRST_READER_IDLE_STATE_EVENT

        public static final IdleStateEvent FIRST_READER_IDLE_STATE_EVENT
      • READER_IDLE_STATE_EVENT

        public static final IdleStateEvent READER_IDLE_STATE_EVENT
      • FIRST_WRITER_IDLE_STATE_EVENT

        public static final IdleStateEvent FIRST_WRITER_IDLE_STATE_EVENT
      • WRITER_IDLE_STATE_EVENT

        public static final IdleStateEvent WRITER_IDLE_STATE_EVENT
      • FIRST_ALL_IDLE_STATE_EVENT

        public static final IdleStateEvent FIRST_ALL_IDLE_STATE_EVENT
      • ALL_IDLE_STATE_EVENT

        public static final IdleStateEvent ALL_IDLE_STATE_EVENT
    • Constructor Detail

      • IdleStateEvent

        protected IdleStateEvent​(IdleState state,
                                 boolean first)
        Constructor for sub-classes.
        Parameters:
        state - the IdleStateEvent which triggered the event.
        first - true if its the first idle event for the IdleStateEvent.
    • Method Detail

      • state

        public IdleState state()
        Returns the idle state.
      • isFirst

        public boolean isFirst()
        Returns true if this was the first event for the IdleState