Class PollEvent

    • Constructor Detail

      • PollEvent

        protected PollEvent​(Scope scope)

        Constructor for PollEvent.

        Parameters:
        scope - a Scope object.
    • Method Detail

      • getScope

        public final Scope getScope()

        getScope

        Returns:
        a Scope object.
      • getEventId

        public abstract int getEventId()

        getEventId

        Returns:
        a int.
      • getDate

        public abstract Date getDate()

        getDate

        Returns:
        a Date object.
      • isNodeDown

        public boolean isNodeDown()

        isNodeDown

        Returns:
        a boolean.
      • isInterfaceDown

        public boolean isInterfaceDown()

        isInterfaceDown

        Returns:
        a boolean.
      • isNodeLostService

        public boolean isNodeLostService()

        isNodeLostService

        Returns:
        a boolean.
      • hasLargerScopeThan

        public boolean hasLargerScopeThan​(PollEvent e)

        hasLargerScopeThan

        Parameters:
        e - a PollEvent object.
        Returns:
        a boolean.
      • hasSmallerScopeThan

        public boolean hasSmallerScopeThan​(PollEvent e)

        hasSmallerScopeThan

        Parameters:
        e - a PollEvent object.
        Returns:
        a boolean.
      • hasScopeLargerThan

        public boolean hasScopeLargerThan​(Scope scope)

        hasScopeLargerThan

        Parameters:
        scope - a Scope object.
        Returns:
        a boolean.
      • hasScopeSmallerThan

        public boolean hasScopeSmallerThan​(Scope scope)

        hasScopeSmallerThan

        Parameters:
        scope - a Scope object.
        Returns:
        a boolean.
      • hasSameScope

        public boolean hasSameScope​(PollEvent e)

        hasSameScope

        Parameters:
        e - a PollEvent object.
        Returns:
        a boolean.