Class MainThread

java.lang.Object
net.minecraft.network.rcon.RConThread
net.minecraft.network.rcon.MainThread
All Implemented Interfaces:
Runnable

public class MainThread extends RConThread
  • Field Details

    • LOGGER

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

      private final ServerSocket socket
    • rconPassword

      private final String rconPassword
    • clients

      private final List<ClientThread> clients
    • serverInterface

      private final IServer serverInterface
  • Constructor Details

  • Method Details

    • clearClients

      private void clearClients()
    • run

      public void run()
    • create

      @Nullable public static MainThread create(IServer p_242130_0_)
    • stop

      public void stop()
      Overrides:
      stop in class RConThread
    • closeSocket

      private void closeSocket(ServerSocket p_232655_1_)