Package fi.iki.elonen

Class NanoHTTPD.ServerRunnable

java.lang.Object
fi.iki.elonen.NanoHTTPD.ServerRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
NanoHTTPD

public class NanoHTTPD.ServerRunnable extends Object implements Runnable
The runnable that will be used for the main listening thread.
  • Field Details

    • timeout

      private final int timeout
    • bindException

      private IOException bindException
    • hasBinded

      private boolean hasBinded
  • Constructor Details

    • ServerRunnable

      public ServerRunnable(int timeout)
  • Method Details

    • run

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