Class AbstractActivePollingModule

    • Constructor Detail

      • AbstractActivePollingModule

        public AbstractActivePollingModule()
    • Method Detail

      • setInterval

        public void setInterval​(long nSeconds)
        Set the interval in seconds.
        Parameters:
        nSeconds - Seconds to wait between polling.
      • getInterval

        @CheckForSigned
        public long getInterval()
        Returns:
        The seconds between polling operations.
      • isBusy

        public final boolean isBusy()
      • poll

        public abstract void poll()
        The abstract message that is called in the defined interval and needs to be overridden by subclasses.