renamed "System" to "Server"

This commit is contained in:
badaix 2016-01-17 15:00:01 +01:00
parent eb99b52c5e
commit b4701fb0fe
5 changed files with 12 additions and 11 deletions

View file

@ -137,7 +137,7 @@ public class RemoteControl implements TcpClient.TcpClientListener {
}
public void getServerStatus() {
JSONObject request = jsonRequest("System.GetStatus", null);
JSONObject request = jsonRequest("Server.GetStatus", null);
tcpClient.sendMessage(request.toString());
}
@ -170,7 +170,7 @@ public class RemoteControl implements TcpClient.TcpClientListener {
public void delete(ClientInfo clientInfo) {
try {
JSONObject request = jsonRequest("System.DeleteClient", new JSONObject("{\"client\": \"" + clientInfo.getMac() + "\"}"));
JSONObject request = jsonRequest("Server.DeleteClient", new JSONObject("{\"client\": \"" + clientInfo.getMac() + "\"}"));
tcpClient.sendMessage(request.toString());
} catch (JSONException e) {
e.printStackTrace();