Class GramCallbackHandler

  • All Implemented Interfaces:
    java.lang.Runnable

    class GramCallbackHandler
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private CallbackHandler handler  
      private static org.apache.commons.logging.Log logger  
      private java.net.Socket socket  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Listen on the server socket for a client, start another thread to keep listening on the server socket, then deal with the client.
      • Methods inherited from class java.lang.Object

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

      • logger

        private static org.apache.commons.logging.Log logger
      • socket

        private java.net.Socket socket
    • Constructor Detail

      • GramCallbackHandler

        public GramCallbackHandler​(CallbackHandler handler,
                                   java.net.Socket socket)
    • Method Detail

      • run

        public void run()
        Listen on the server socket for a client, start another thread to keep listening on the server socket, then deal with the client.
        Specified by:
        run in interface java.lang.Runnable