Package de.creepsmash.common.messages.client

Examples of de.creepsmash.common.messages.client.PasswordResetRequestMessage


                registrationRequestMessage.getEmail());
        RegistrationResponseMessage registrationResponseMessage = new RegistrationResponseMessage();
        registrationResponseMessage.setResponseType(responseType);
        this.sendMessage(registrationResponseMessage);
      } else if (message instanceof PasswordResetRequestMessage) {
        PasswordResetRequestMessage passwordResetRequestMessage = (PasswordResetRequestMessage) message;
        boolean result = this.authenticationService
            .resetPassword(passwordResetRequestMessage
                .getPlayername());
        PasswordResetResponseMessage resetResponse = new PasswordResetResponseMessage();
        if (result) {
          resetResponse.setResponseType(IConstants.ResponseType.ok);
        } else {
View Full Code Here


   * login.
   */
  public void forgottenProcess() {
    getCore().getNetwork().makeContact();
   
    PasswordResetRequestMessage prrm = new PasswordResetRequestMessage();
    prrm.setClientId(getCore().getPlayerId());
    prrm.setPlayerName(lName.getText());
    getCore().getNetwork().sendMessage(prrm);
    send.setEnabled(false);
   
  }
View Full Code Here

TOP

Related Classes of de.creepsmash.common.messages.client.PasswordResetRequestMessage

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.