|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.main.chat.conference.ChatRoomProviderWrapper
public class ChatRoomProviderWrapper
| Constructor Summary | |
|---|---|
ChatRoomProviderWrapper(ProtocolProviderService protocolProvider)
Creates an instance of ChatRoomProviderWrapper by specifying the protocol provider, corresponding to the multi user chat account. |
|
| Method Summary | |
|---|---|
void |
addChatRoom(ChatRoomWrapper chatRoom)
Adds the given chat room to this chat room provider. |
boolean |
containsChatRoom(ChatRoomWrapper chatRoom)
Returns true if the given chat room is contained in this
provider, otherwise - returns false. |
int |
countChatRooms()
Returns the number of chat rooms contained in this provider. |
ChatRoomWrapper |
findChatRoomWrapperForChatRoom(ChatRoom chatRoom)
Returns the chat room wrapper contained in this provider that corresponds to the given chat room. |
ChatRoomWrapper |
getChatRoom(int index)
|
byte[] |
getIcon()
|
byte[] |
getImage()
|
String |
getName()
Returns the name of this chat room provider. |
ProtocolProviderService |
getProtocolProvider()
Returns the protocol provider service corresponding to this server wrapper. |
ChatRoomWrapper |
getSystemRoomWrapper()
Returns the system room wrapper corresponding to this server. |
int |
indexOf(ChatRoomWrapper chatRoomWrapper)
Returns the index of the given chat room in this provider. |
void |
removeChatRoom(ChatRoomWrapper chatRoom)
Removes the given chat room from this provider. |
void |
setSystemRoom(ChatRoom systemRoom)
Sets the system room corresponding to this server. |
void |
synchronizeProvider()
Goes through the locally stored chat rooms list and for each ChatRoomWrapper tries to find the corresponding server stored
ChatRoom in the specified operation set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChatRoomProviderWrapper(ProtocolProviderService protocolProvider)
protocolProvider - protocol provider, corresponding to the multi
user chat account.| Method Detail |
|---|
public String getName()
public byte[] getIcon()
public byte[] getImage()
public ChatRoomWrapper getSystemRoomWrapper()
public void setSystemRoom(ChatRoom systemRoom)
systemRoom - the system room to setpublic ProtocolProviderService getProtocolProvider()
public void addChatRoom(ChatRoomWrapper chatRoom)
chatRoom - the chat room to add.public void removeChatRoom(ChatRoomWrapper chatRoom)
chatRoom - the chat room to remove.public boolean containsChatRoom(ChatRoomWrapper chatRoom)
true if the given chat room is contained in this
provider, otherwise - returns false.
chatRoom - the chat room to search for.
true if the given chat room is contained in this
provider, otherwise - returns false.public ChatRoomWrapper findChatRoomWrapperForChatRoom(ChatRoom chatRoom)
chatRoom - the chat room we're looking for.
public int countChatRooms()
public ChatRoomWrapper getChatRoom(int index)
public int indexOf(ChatRoomWrapper chatRoomWrapper)
chatRoomWrapper - the chat room to search for.
public void synchronizeProvider()
ChatRoomWrapper tries to find the corresponding server stored
ChatRoom in the specified operation set. Joins automatically all
found chat rooms.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||