Class ClientThread

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ClientThread
    extends RConThread
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientThread​(IServer p_i50687_1_, java.lang.String p_i50687_2_, java.net.Socket p_i50687_3_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void closeSocket()  
      void run()  
      private void send​(int p_72654_1_, int p_72654_2_, java.lang.String p_72654_3_)  
      private void sendAuthFailure()  
      private void sendCmdResponse​(int p_72655_1_, java.lang.String p_72655_2_)  
      void stop()  
      • Methods inherited from class java.lang.Object

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

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • authed

        private boolean authed
      • client

        private final java.net.Socket client
      • buf

        private final byte[] buf
      • rconPassword

        private final java.lang.String rconPassword
      • serverInterface

        private final IServer serverInterface
    • Constructor Detail

      • ClientThread

        ClientThread​(IServer p_i50687_1_,
                     java.lang.String p_i50687_2_,
                     java.net.Socket p_i50687_3_)
    • Method Detail

      • run

        public void run()
      • send

        private void send​(int p_72654_1_,
                          int p_72654_2_,
                          java.lang.String p_72654_3_)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • sendAuthFailure

        private void sendAuthFailure()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • sendCmdResponse

        private void sendCmdResponse​(int p_72655_1_,
                                     java.lang.String p_72655_2_)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • closeSocket

        private void closeSocket()