Package fi.iki.elonen

Class NanoHTTPD.ServerRunnable

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    NanoHTTPD

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

      Fields 
      Modifier and Type Field Description
      private java.io.IOException bindException  
      private boolean hasBinded  
      private int timeout  
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerRunnable​(int timeout)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timeout

        private final int timeout
      • bindException

        private java.io.IOException bindException
      • hasBinded

        private boolean hasBinded
    • Constructor Detail

      • ServerRunnable

        public ServerRunnable​(int timeout)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable