LoginManager.java :  » Game » skbot-client » org » rsbot » service » Java Open Source

Java Open Source » Game » skbot client 
skbot client » org » rsbot » service » LoginManager.java
package org.rsbot.service;

/**
 * @author Timer
 */
public class LoginManager {

  private String message = null;
  private static final String MESSAGE_GOOD_LOGIN = "Identified correctly.";

  /**
   * Checks if your username and password is valid.
   *
   * @return <tt>true</tt> if correct; otherwise <tt>false</tt>.
   */
  public boolean valid() {
    message = MESSAGE_GOOD_LOGIN;
    return true;
  }

  /**
   * Return message.
   *
   * @return The login message.
   */
  public String message() {
    return message;
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.