Class NioDatagramAcceptor.Acceptor

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

    private class NioDatagramAcceptor.Acceptor
    extends java.lang.Object
    implements java.lang.Runnable
    This private class is used to accept incoming connection from clients. It's an infinite loop, which can be stopped when all the registered handles have been removed (unbound).
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Acceptor()  
    • 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
    • Constructor Detail

      • Acceptor

        private Acceptor()
    • Method Detail

      • run

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