Modifier and Type | Field and Description |
---|---|
private boolean |
authenticated |
private static Logger |
LOGGER |
private byte[] |
packetBuffer |
private String |
password |
private DedicatedServer |
server |
private Socket |
socket |
description, running, thread
Constructor and Description |
---|
RconClient(DedicatedServer server,
String password,
Socket socket) |
Modifier and Type | Method and Description |
---|---|
private void |
close() |
private void |
fail() |
private void |
respond(int sessionToken,
int responseType,
String message) |
private void |
respond(int sessionToken,
String message) |
void |
run() |
void |
stop() |
private static final Logger LOGGER
private boolean authenticated
private final Socket socket
private final byte[] packetBuffer
private final String password
private final DedicatedServer server
RconClient(DedicatedServer server, String password, Socket socket)
public void run()
private void respond(int sessionToken, int responseType, String message) throws IOException
IOException
private void fail() throws IOException
IOException
private void respond(int sessionToken, String message) throws IOException
IOException
private void close()