|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChatRoomManager
Chat room manager. Entry point for getting access to chat rooms managed by
this manager. Access to objects implementing this interface is provided by
IPresenceContainerAdapter.getChatRoomManager()
Method Summary | |
---|---|
void |
addInvitationListener(IChatRoomInvitationListener listener)
Add invitation listener |
IChatRoomInfo |
createChatRoom(java.lang.String roomName,
java.util.Map properties)
Create a chat room with the given room name and properties. |
IChatRoomInfo |
getChatRoomInfo(java.lang.String roomName)
Get detailed room info for given room name |
IChatRoomInfo[] |
getChatRoomInfos()
Get detailed room info for all chat rooms associated with this manager |
IChatRoomManager[] |
getChildren()
Get any children managers of this IChatRoomManager. |
IHistoryManager |
getHistoryManager()
Get chat room history manager. |
IChatRoomInvitationSender |
getInvitationSender()
Get chat room invitation sender. |
IChatRoomManager |
getParent()
Get parent IChatRoomManager. |
void |
removeInvitationListener(IChatRoomInvitationListener listener)
Remove invitation listener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
void addInvitationListener(IChatRoomInvitationListener listener)
listener
- the invitation listener to add. Must not be null
.void removeInvitationListener(IChatRoomInvitationListener listener)
listener
- the invitation listener to remove. Must not be
null
.IChatRoomInvitationSender getInvitationSender()
null
, this chat room
manager does not support the ability to send invitations.
null
, and in that case no invitation sending ability
is available from this chat manager.IChatRoomManager getParent()
null
.
null
if this manager is the root of the hierarchy.IChatRoomManager[] getChildren()
null
will not be returned.IChatRoomInfo getChatRoomInfo(java.lang.String roomName)
roomName
- the name of the room to get detailed info for. If null, the
room info is assumed to be a room associated with the chat
room manager instance itself. For example, for IRC, the chat
room manager is also a chat room where message can be
sent/received
null
if no chat room info associated with given
name or nullIChatRoomInfo[] getChatRoomInfos()
null
.IChatRoomInfo createChatRoom(java.lang.String roomName, java.util.Map properties) throws ChatRoomCreateException
roomName
- the name of the room. Must not be null
.properties
- properties associated with the room's creation. May be
null
.
null
.
ChatRoomCreateException
- if roomName is null
, or if chat room creation
cannot occur (e.g. server refuses, name collision occurs,
user has insufficient rights to perform creation operation,
etc).IHistoryManager getHistoryManager()
null
.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |