Package net.minecraft.network.rcon
Class MainThread
java.lang.Object
net.minecraft.network.rcon.RConThread
net.minecraft.network.rcon.MainThread
- All Implemented Interfaces:
Runnable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ClientThread>
private static final org.apache.logging.log4j.Logger
private final String
private final IServer
private final ServerSocket
Fields inherited from class net.minecraft.network.rcon.RConThread
name, running, thread
-
Constructor Summary
ModifierConstructorDescriptionprivate
MainThread
(IServer p_i241891_1_, ServerSocket p_i241891_2_, String p_i241891_3_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
closeSocket
(ServerSocket p_232655_1_) static MainThread
void
run()
void
stop()
Methods inherited from class net.minecraft.network.rcon.RConThread
isRunning, start
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
socket
-
rconPassword
-
clients
-
serverInterface
-
-
Constructor Details
-
MainThread
-
-
Method Details
-
clearClients
private void clearClients() -
run
public void run() -
create
-
stop
public void stop()- Overrides:
stop
in classRConThread
-
closeSocket
-