Class SimpleServerThread

  • All Implemented Interfaces:
    java.lang.Runnable

    public class SimpleServerThread
    extends java.lang.Thread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static int c_cdone  
      (package private) static int c_count  
      private static org.apache.log4j.Logger c_logger  
      private java.lang.String m_remote  
      private SimpleServer m_server  
      private java.net.Socket m_socket  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void log​(org.apache.log4j.Level l, java.lang.String msg)  
      void run()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

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

      • m_remote

        private java.lang.String m_remote
      • m_socket

        private java.net.Socket m_socket
      • c_logger

        private static org.apache.log4j.Logger c_logger
      • c_count

        static int c_count
      • c_cdone

        static int c_cdone
    • Constructor Detail

      • SimpleServerThread

        public SimpleServerThread​(SimpleServer me,
                                  java.net.Socket socket)
    • Method Detail

      • log

        public void log​(org.apache.log4j.Level l,
                        java.lang.String msg)
      • run

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