Package net.minecraft.server.rcon.thread
Class RconThread
java.lang.Object
net.minecraft.server.rcon.thread.GenericThread
net.minecraft.server.rcon.thread.RconThread
- All Implemented Interfaces:
Runnable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<RconClient>
private static final org.slf4j.Logger
private final String
private final ServerInterface
private final ServerSocket
Fields inherited from class net.minecraft.server.rcon.thread.GenericThread
name, running, thread
-
Constructor Summary
ModifierConstructorDescriptionprivate
RconThread
(ServerInterface p_11608_, ServerSocket p_11609_, String p_11610_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
closeSocket
(ServerSocket p_11614_) static RconThread
create
(ServerInterface p_11616_) void
run()
void
stop()
Methods inherited from class net.minecraft.server.rcon.thread.GenericThread
isRunning, start
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
socket
-
rconPassword
-
clients
-
serverInterface
-
-
Constructor Details
-
RconThread
-
-
Method Details
-
clearClients
private void clearClients() -
run
public void run() -
create
-
stop
public void stop()- Overrides:
stop
in classGenericThread
-
closeSocket
-