Package marauroa.server.game.db

Examples of marauroa.server.game.db.LoginEventDAO


     */
    public boolean isBlocked() throws SQLException {
      DBTransaction transaction = TransactionPool.get().beginWork();
      boolean res = true;
      try {
        LoginEventDAO loginEventDAO = DAORegister.get().get(LoginEventDAO.class);
        res = loginEventDAO.isAccountBlocked(transaction, username)
          || loginEventDAO.isAddressBlocked(transaction, address.getHostAddress());

        TransactionPool.get().commit(transaction);
      } catch (SQLException e) {
        TransactionPool.get().rollback(transaction);
        logger.error(e, e);
View Full Code Here

TOP

Related Classes of marauroa.server.game.db.LoginEventDAO

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.