Class EchoServer.ConnectionHandler

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

    protected class EchoServer.ConnectionHandler
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.net.Socket client_sock  
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionHandler​(java.net.Socket client_sock)  
    • Method Summary

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

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

      • client_sock

        protected final java.net.Socket client_sock
    • Constructor Detail

      • ConnectionHandler

        public ConnectionHandler​(java.net.Socket client_sock)
    • Method Detail

      • run

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

        protected void _run()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception