Class OccupantsInfo
- java.lang.Object
-
- org.jivesoftware.smack.packet.Stanza
-
- org.jivesoftware.smack.packet.IQ
-
- org.jivesoftware.smackx.workgroup.packet.OccupantsInfo
-
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.FullyQualifiedElement,org.jivesoftware.smack.packet.IqView,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.StanzaView,org.jivesoftware.smack.packet.TopLevelStreamElement,org.jivesoftware.smack.packet.XmlLangElement
public class OccupantsInfo extends org.jivesoftware.smack.packet.IQStanza used for requesting information about occupants of a room or for retrieving information such information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOccupantsInfo.OccupantInfostatic classOccupantsInfo.ProviderStanza extension provider for AgentStatusRequest packets.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELEMENT_NAMEElement name of the stanza extension.static java.lang.StringNAMESPACENamespace of the stanza extension.
-
Constructor Summary
Constructors Constructor Description OccupantsInfo(java.lang.String roomID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuildergetIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)java.util.Set<OccupantsInfo.OccupantInfo>getOccupants()intgetOccupantsCount()java.lang.StringgetRoomID()-
Methods inherited from class org.jivesoftware.smack.packet.IQ
createErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementQName, getChildElementXML, getElementName, getType, isRequestIQ, isResponseIQ, setType, toString, toXML
-
Methods inherited from class org.jivesoftware.smack.packet.Stanza
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtension, getExtensionElement, getExtensions, getExtensions, getExtensions, getExtensions, getExtensionsMap, getFrom, getLanguage, getNamespace, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setLanguage, setNewStanzaId, setStanzaId, setStanzaId, setTo, throwIfNoStanzaId
-
-
-
-
Field Detail
-
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
Element name of the stanza extension.- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
Namespace of the stanza extension.- See Also:
- Constant Field Values
-
-
Method Detail
-
getRoomID
public java.lang.String getRoomID()
-
getOccupantsCount
public int getOccupantsCount()
-
getOccupants
public java.util.Set<OccupantsInfo.OccupantInfo> getOccupants()
-
getIQChildElementBuilder
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)
- Specified by:
getIQChildElementBuilderin classorg.jivesoftware.smack.packet.IQ
-
-