Class PeerTestEvent

  • All Implemented Interfaces:
    Runnable

    class PeerTestEvent
    extends SimpleTimer2.TimedEvent
    Initiate a test (we are Alice)
    Since:
    0.9.30 moved out of UDPTransport
    • Method Detail

      • timeReached

        public void timeReached()
        Description copied from class: SimpleTimer2.TimedEvent
        Simple interface for events to be queued up and notified on expiration the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)
        Specified by:
        timeReached in class SimpleTimer2.TimedEvent
      • forceRunSoon

        public void forceRunSoon​(boolean isIPv6)
        Run within the next 45 seconds at the latest
        Since:
        0.9.13
      • forceRunSoon

        public void forceRunSoon​(boolean isIPv6,
                                 long delay)
        Run within the specified time at the latest
        Since:
        0.9.39
      • forceRunImmediately

        public void forceRunImmediately​(boolean isIPv6)
        Run within the next 5 seconds at the latest
        Since:
        0.9.13
      • setIsAlive

        public void setIsAlive​(boolean isAlive)
      • setLastTested

        public void setLastTested​(boolean isIPv6)
        Set the last-tested timer to now
        Since:
        0.9.13