Class BanListDAO

java.lang.Object
marauroa.server.game.db.BanListDAO

public class BanListDAO extends Object
data access object the ban list
  • Constructor Details

    • BanListDAO

      public BanListDAO()
  • Method Details

    • getBannedAddresses

      public List<InetAddressMask> getBannedAddresses(DBTransaction transaction) throws SQLException
      gets a list of all banned ip-address ranges
      Parameters:
      transaction - DBTransaction
      Returns:
      list of banned ip-address ranges
      Throws:
      SQLException - in case of an database error
    • getBannedAddresses

      @Deprecated public List<InetAddressMask> getBannedAddresses() throws SQLException
      Deprecated.
      gets a list of all banned ip-address ranges
      Returns:
      list of banned ip-address ranges
      Throws:
      SQLException - in case of an database error