Examples of GameInformationMessage


Examples of net.cis.common.model.system.message.GameInformationMessage

      if (!systemManager.validateGameVersion(msg.getGameVersion())) {
        client.setUpToDate(false);
        client.conn.send(new GameVersionMessage(systemManager.getGameVersion()));
      } else {
        client.setUpToDate(true);
        client.conn.send(new GameInformationMessage(systemManager.getActualGameInformation()));
      }
    } else if (m instanceof AuthorizeMessage) {
      if (!client.isUpToDate()) {
        clientMap.remove(client.conn.getId());
        client.conn.close("You MUST update your Client!");
View Full Code Here

Examples of net.cis.common.model.system.message.GameInformationMessage

      } else {
        LogFactory.getLog(HandshakeController.class).error("This shouldn't happen!");
        System.exit(-1);
      }
    } else if (m instanceof GameInformationMessage) { // client version ok, some data about game
      GameInformationMessage message = (GameInformationMessage) m;
      // TODO: Handle GameInformatiomMessage
      String msg = "Got game information!";
      callback.statusMessage(msg);
      LogFactory.getLog(HandshakeController.class).info(msg);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.