Package de.creepsmash.common.messages.server

Examples of de.creepsmash.common.messages.server.DeleteResponseMessage


          updateDataRequestMessage.getPassword(),
          updateDataRequestMessage.getEmail()));
      this.getClient().send(m);
      return this;
    } else if (message instanceof DeleteRequestMessage) {
      DeleteResponseMessage m = new DeleteResponseMessage();
      m.setResponseType(AuthenticationService.delete(
          this.getClient()
          .getUserName()));
      this.getClient().send(m);
      return this;
    } else if (message instanceof SendMessageMessage) {
View Full Code Here


      ScoreResponseMessage responseMessage =
        HighscoreService.getScoreMessage(requestMessage.getPlayerName());
      this.getClient().send(responseMessage);
      return this;
    } else if (message instanceof DeleteRequestMessage) {
      DeleteResponseMessage m = new DeleteResponseMessage();
      m.setResponseType(AuthenticationService.delete(
          this.getClient().getUserName()));
      this.getClient().send(m);
      return this;
    } else if (message instanceof GameMessage) {
      try {
View Full Code Here

    } else if (ScoreResponseMessage.PATTERN.matcher(messageString)
        .matches()) {
      messageObject = new ScoreResponseMessage();
    } else if (DeleteResponseMessage.PATTERN.matcher(messageString)
        .matches()) {
      messageObject = new DeleteResponseMessage();
    } else if (PasswordResetResponseMessage.PATTERN.matcher(messageString)
        .matches()) {
      messageObject = new PasswordResetResponseMessage();
    } else {
      // TODO logging
View Full Code Here

      }

    }

    if (m instanceof DeleteResponseMessage) {
      DeleteResponseMessage drm = (DeleteResponseMessage) m;
      if (drm.getResponseType() == IConstants.ResponseType.ok) {
        LogoutMessage gm = new LogoutMessage();
        getCore().getNetwork().sendMessage(gm);
        getCore().getNetwork().shutdown();
        getCore().clearScreen();
        getCore().pushScreen(new LoginPanel());
View Full Code Here

TOP

Related Classes of de.creepsmash.common.messages.server.DeleteResponseMessage

Copyright © 2018 www.massapicom. 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.