Modifier and Type | Field and Description |
---|---|
private List<RconClient> |
clients |
private ServerSocket |
listener |
private String |
password |
private DedicatedServer |
server |
private static Logger |
SERVER_LOGGER |
description, running, thread
Modifier | Constructor and Description |
---|---|
private |
RconListener(DedicatedServer dedicatedServer,
ServerSocket serverSocket,
String string) |
Modifier and Type | Method and Description |
---|---|
private void |
closeSocket(ServerSocket socket) |
static RconListener |
create(DedicatedServer server) |
private void |
removeStoppedClients() |
void |
run() |
void |
stop() |
private static final Logger SERVER_LOGGER
private final ServerSocket listener
private final String password
private final List<RconClient> clients
private final DedicatedServer server
private RconListener(DedicatedServer dedicatedServer, ServerSocket serverSocket, String string)
private void removeStoppedClients()
public void run()
@Nullable public static RconListener create(DedicatedServer server)
private void closeSocket(ServerSocket socket)