Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jChatBox.Chat
Class Blacklist

    java.lang.Object
      |
      +--jChatBox.Chat.Blacklist

public class Blacklist
extends java.lang.Object
implements java.io.Serializable

This class implements a blacklist.

See Also:
  Serialized Form

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

### Blacklist

    public Blacklist()

Method Detail

### add

    public void add(ChatroomUser user,
                    java.lang.String reason)

  Add user's IP to blacklist.

### remove

    public void remove(java.lang.String ip)

  Remove IP from blacklist.

### getSize

    public int getSize()

  Returns blacklist size.

### getList

    public java.util.Vector getList()

  Returns blacklist.

### clear

    public void clear()

  Clear blacklist.

### isKickedOff

    public boolean isKickedOff(ChatroomUser user)

  Not implemented.

### isBanned

    public boolean isBanned(ChatroomUser user)

  Check if user's IP address is banned.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD