Class MainThread

  • All Implemented Interfaces:
    java.lang.Runnable

    public class MainThread
    extends RConThread
    • Field Detail

      • LOGGER

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

        private final java.net.ServerSocket socket
      • rconPassword

        private final java.lang.String rconPassword
      • clients

        private final java.util.List<ClientThread> clients
      • serverInterface

        private final IServer serverInterface
    • Constructor Detail

      • MainThread

        private MainThread​(IServer p_i241891_1_,
                           java.net.ServerSocket p_i241891_2_,
                           java.lang.String p_i241891_3_)
    • Method Detail

      • clearClients

        private void clearClients()
      • run

        public void run()
      • closeSocket

        private void closeSocket​(java.net.ServerSocket p_232655_1_)