Examples of BannedIp


Examples of l2p.util.BannedIp

    FiltredPreparedStatement statement = null;
    ResultSet rset = null;
    try
    {
      con = L2DatabaseFactory.getInstance().getConnection();
      BannedIp temp;
      statement = con.prepareStatement("SELECT ip,admin FROM banned_ips");
      rset = statement.executeQuery();
      while(rset.next())
      {
        temp = new BannedIp();
        temp.ip = rset.getString("ip");
        temp.admin = rset.getString("admin");
        result.add(temp);
      }
    }
View Full Code Here

Examples of l2p.util.BannedIp

  public void read()
  {
    int size = readD();
    for(int i = 0; i < size; i++)
    {
      BannedIp ip = new BannedIp();
      ip.ip = readS();
      ip.admin = readS();
      baniplist.add(ip);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.