Class StopListenerThread

  • All Implemented Interfaces:
    Runnable

    public class StopListenerThread
    extends Thread
    Author:
    pthomas3
    • Constructor Detail

      • StopListenerThread

        public StopListenerThread​(int port,
                                  Stoppable stoppable)
    • Method Detail

      • getPort

        public int getPort()
      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread
      • stop

        public static void stop​(int port)