Class LanServerPinger

java.lang.Object
java.lang.Thread
net.minecraft.client.server.LanServerPinger
All Implemented Interfaces:
Runnable

public class LanServerPinger extends Thread
  • Field Details

    • UNIQUE_THREAD_ID

      private static final AtomicInteger UNIQUE_THREAD_ID
    • LOGGER

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

      public static final String MULTICAST_GROUP
      See Also:
      Constant Field Values
    • PING_PORT

      public static final int PING_PORT
      See Also:
      Constant Field Values
    • PING_INTERVAL

      private static final long PING_INTERVAL
      See Also:
      Constant Field Values
    • motd

      private final String motd
    • socket

      private final DatagramSocket socket
    • isRunning

      private boolean isRunning
    • serverAddress

      private final String serverAddress
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • interrupt

      public void interrupt()
      Overrides:
      interrupt in class Thread
    • createPingString

      public static String createPingString(String p_120114_, String p_120115_)
    • parseMotd

      public static String parseMotd(String p_120112_)
    • parseAddress

      public static String parseAddress(String p_120117_)