145146147148149150151152153154155
{ try { if (receivedMessage.getMessageType().equals(Protocol.ERROR)) { ServerError.invoke(new ServerErrorEvent(this, receivedMessage.getBody())); } if (receivedMessage.getMessageType().equals(Protocol.GAMESTATUS)) { ChangeGameStatus.invoke(