Package net.minecraft.server.rcon.thread
Class RconClient
java.lang.Object
net.minecraft.server.rcon.thread.GenericThread
net.minecraft.server.rcon.thread.RconClient
- All Implemented Interfaces:
- Runnable
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate booleanprivate final byte[]private final Socketprivate static final org.slf4j.Loggerprivate final Stringprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate final ServerInterfaceFields inherited from class net.minecraft.server.rcon.thread.GenericThreadname, running, thread
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidvoidrun()private voidprivate voidprivate voidsendCmdResponse(int p_11595_, String p_11596_) voidstop()Methods inherited from class net.minecraft.server.rcon.thread.GenericThreadisRunning, start
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
SERVERDATA_AUTHprivate static final int SERVERDATA_AUTH- See Also:
 
- 
SERVERDATA_EXECCOMMANDprivate static final int SERVERDATA_EXECCOMMAND- See Also:
 
- 
SERVERDATA_RESPONSE_VALUEprivate static final int SERVERDATA_RESPONSE_VALUE- See Also:
 
- 
SERVERDATA_AUTH_RESPONSEprivate static final int SERVERDATA_AUTH_RESPONSE- See Also:
 
- 
SERVERDATA_AUTH_FAILUREprivate static final int SERVERDATA_AUTH_FAILURE- See Also:
 
- 
authedprivate boolean authed
- 
client
- 
bufprivate final byte[] buf
- 
rconPassword
- 
serverInterface
 
- 
- 
Constructor Details- 
RconClientRconClient(ServerInterface p_11587_, String p_11588_, Socket p_11589_) 
 
- 
- 
Method Details- 
runpublic void run()
- 
send- Throws:
- IOException
 
- 
sendAuthFailure- Throws:
- IOException
 
- 
sendCmdResponse- Throws:
- IOException
 
- 
stoppublic void stop()- Overrides:
- stopin class- GenericThread
 
- 
closeSocketprivate void closeSocket()
 
-