|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.engine.lobby.server.userDB.BannedIpController
public class BannedIpController
Utilitiy class to create/read/delete banned ips (there is no update).
| Constructor Summary | |
|---|---|
BannedIpController()
|
|
| Method Summary | |
|---|---|
void |
addBannedIp(java.lang.String ip)
Ban the ip permanently |
void |
addBannedIp(java.lang.String ip,
java.util.Date banTill)
Ban the given ip. |
boolean |
isIpBanned(java.lang.String ip)
Is the given ip banned? |
void |
removeBannedIp(java.lang.String ip)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BannedIpController()
| Method Detail |
|---|
public void addBannedIp(java.lang.String ip)
public void addBannedIp(java.lang.String ip,
java.util.Date banTill)
If this ip is already banned, this call will update the ban_end.
public void removeBannedIp(java.lang.String ip)
public boolean isIpBanned(java.lang.String ip)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||