Package net.minecraft.server.rcon
Class RconClient
java.lang.Object
net.minecraft.server.rcon.RconBase
net.minecraft.server.rcon.RconClient
- All Implemented Interfaces:
Runnable
public class RconClient extends RconBase
-
Field Summary
Fields Modifier and Type Field Description private boolean
authenticated
private static Logger
LOGGER
private byte[]
packetBuffer
private String
password
private DedicatedServer
server
private Socket
socket
Fields inherited from class net.minecraft.server.rcon.RconBase
description, running, thread
-
Constructor Summary
Constructors Constructor Description RconClient(DedicatedServer server, String password, Socket socket)
-
Method Summary
-
Field Details
-
LOGGER
-
authenticated
private boolean authenticated -
socket
-
packetBuffer
private final byte[] packetBuffer -
password
-
server
-
-
Constructor Details
-
RconClient
RconClient(DedicatedServer server, String password, Socket socket)
-
-
Method Details
-
run
public void run() -
respond
- Throws:
IOException
-
fail
- Throws:
IOException
-
respond
- Throws:
IOException
-
stop
public void stop() -
close
private void close()
-