Package org.jivesoftware.smackx.muc
Class HostedRoom
java.lang.Object
org.jivesoftware.smackx.muc.HostedRoom
Hosted rooms by a chat service may be discovered if they are configured to appear in the room
directory . The information that may be discovered is the XMPP address of the room and the room
name. The address of the room may be used for obtaining more detailed information
MultiUserChatManager.getRoomInfo(org.jxmpp.jid.EntityBareJid)
or could be used for joining the room
MultiUserChatManager.getMultiUserChat(org.jxmpp.jid.EntityBareJid)
and MultiUserChat.join(org.jxmpp.jid.parts.Resourcepart)
.-
Constructor Details
-
HostedRoom
-
-
Method Details
-
getJid
Returns the XMPP address of the hosted room by the chat service. This address may be used when creating aMultiUserChat
when joining a room.- Returns:
- the XMPP address of the hosted room by the chat service.
-
getName
Returns the name of the room.- Returns:
- the name of the room.
-