|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jChatBox.Chat.ChatroomManager
This class (Singleton) manages all chatrooms.
Method Summary | |
void |
addChatroom(Chatroom chatroom)
Adds a chatroom. |
void |
destroy()
Backup ChatroomManager. |
Chatroom |
getChatroom(int id)
Returns a chatroom identified by its ID. |
java.util.Vector |
getChatrooms()
Lists all chatrooms. |
int |
getChatroomUID()
Returns an UID for a chatroom. |
static ChatroomManager |
getInstance()
Returns ChatroomManager Singleton. |
void |
removeChatroom(int id)
Removes a chatroom identified by its ID. |
void |
reOpen()
reOpen ChatroomManager. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static ChatroomManager getInstance()
public int getChatroomUID()
public void reOpen()
public void addChatroom(Chatroom chatroom)
public void removeChatroom(int id) throws ChatException
public Chatroom getChatroom(int id) throws ChatException
public java.util.Vector getChatrooms()
public void destroy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |