Class Pinger

    • Field Detail

      • sink

        protected Sink sink
      • thread

        protected final Thread thread
      • running

        protected volatile boolean running
    • Constructor Detail

      • Pinger

        public Pinger()
    • Method Detail

      • setSink

        public void setSink​(Sink sink)
        Specified by:
        setSink in interface Source
      • start

        public void start()
        Specified by:
        start in interface Source
      • stop

        public void stop()
      • run

        public void run()
        Specified by:
        run in interface Runnable