|
|
@ -309,10 +309,9 @@ public class ActFmSyncThread {
|
|
|
|
if (serverMessageJson != null) {
|
|
|
|
if (serverMessageJson != null) {
|
|
|
|
ServerToClientMessage serverMessage = ServerToClientMessage.instantiateMessage(serverMessageJson);
|
|
|
|
ServerToClientMessage serverMessage = ServerToClientMessage.instantiateMessage(serverMessageJson);
|
|
|
|
if (serverMessage != null) {
|
|
|
|
if (serverMessage != null) {
|
|
|
|
syncLog("Processing server message of type " + serverMessage.getClass().getSimpleName());
|
|
|
|
|
|
|
|
serverMessage.processMessage(time);
|
|
|
|
serverMessage.processMessage(time);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
syncLog("Unable to instantiate message " + serverMessageJson.toString());
|
|
|
|
syncLog("Index " + i + " unable to instantiate message " + serverMessageJson.toString());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|