Commit 7102dd8a authored by Jonathan Sudibya's avatar Jonathan Sudibya
Browse files

Server Status Done

parent 1e104926
......@@ -5,11 +5,12 @@
*/
package Model;
import Controller.DBHandler;
import static Controller.ConnectionHandler.serverList;
import Method.EndpointMethod;
import java.security.NoSuchAlgorithmException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
/**
......@@ -91,6 +92,9 @@ public final class MessageProcessor {
System.out.println("BELUM!");
break;
}
case "serverStatus" : {
serverList = (JSONArray) data.get("value");
}
default : {
//senderror
response = EndpointMethod.statusError();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment