|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jChatBox.Chat.Blacklist
This class implements a blacklist.
Constructor Summary | |
Blacklist()
|
Method Summary | |
void |
add(ChatroomUser user,
java.lang.String reason)
Add user's IP to blacklist. |
void |
clear()
Clear blacklist. |
java.util.Vector |
getList()
Returns blacklist. |
int |
getSize()
Returns blacklist size. |
boolean |
isBanned(ChatroomUser user)
Check if user's IP address is banned. |
boolean |
isKickedOff(ChatroomUser user)
Not implemented. |
void |
remove(java.lang.String ip)
Remove IP from blacklist. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Blacklist()
Method Detail |
public void add(ChatroomUser user, java.lang.String reason) throws ChatException
ChatException
public void remove(java.lang.String ip)
public int getSize()
public java.util.Vector getList()
public void clear()
public boolean isKickedOff(ChatroomUser user)
public boolean isBanned(ChatroomUser user)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |