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
Modifier and TypeFieldDescriptionprivate boolean
private static final org.slf4j.Logger
private final String
static final String
private static final long
static final int
private final String
private final DatagramSocket
private static final AtomicInteger
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
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