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
FieldsModifier and TypeFieldDescriptionprivate final List<RconClient> private static final org.slf4j.Loggerprivate final Stringprivate final ServerInterfaceprivate final ServerSocketFields inherited from class net.minecraft.server.rcon.thread.GenericThread
name, running, thread -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRconThread(ServerInterface pServerInterface, ServerSocket pSocket, String pRconPassword) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidcloseSocket(ServerSocket pSocket) static RconThreadcreate(ServerInterface pServerInterface) voidrun()voidstop()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:
stopin classGenericThread
-
closeSocket
-