Package net.minecraft.client.server
Class LanServerPinger
java.lang.Object
java.lang.Thread
net.minecraft.client.server.LanServerPinger
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final org.slf4j.Loggerprivate final Stringstatic final Stringprivate static final longstatic final intprivate final Stringprivate final DatagramSocketprivate static final AtomicIntegerFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
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, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
UNIQUE_THREAD_ID
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MULTICAST_GROUP
-
PING_PORT
public static final int PING_PORT- See Also:
-
PING_INTERVAL
private static final long PING_INTERVAL- See Also:
-
motd
-
socket
-
isRunning
private boolean isRunning -
serverAddress
-
-
Constructor Details
-
LanServerPinger
- Throws:
IOException
-
-
Method Details