org.jivesoftware.smackx.muc
Class HostedRoom
java.lang.Object
org.jivesoftware.smackx.muc.HostedRoom
public class HostedRoom
- extends Object
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
MultiUserChat.getRoomInfo(org.jivesoftware.smack.XMPPConnection, String)
or could be used for joining the room
MultiUserChat.MultiUserChat(org.jivesoftware.smack.XMPPConnection, String)
and MultiUserChat.join(String)
.
- Author:
- Gaston Dombiak
Method Summary |
String |
getJid()
Returns the XMPP address of the hosted room by the chat service. |
String |
getName()
Returns the name of the room. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostedRoom
public HostedRoom(DiscoverItems.Item item)
getJid
public String getJid()
- Returns the XMPP address of the hosted room by the chat service. This address may be used
when creating a
MultiUserChat
when joining a room.
- Returns:
- the XMPP address of the hosted room by the chat service.
getName
public String getName()
- Returns the name of the room.
- Returns:
- the name of the room.
Copyright © 2003-2007 Jive Software.