Class QueueDetails
java.lang.Object
org.jivesoftware.smackx.workgroup.packet.QueueDetails
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
Queue details stanza extension, which contains details about the users
currently in a queue.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Provider class for QueueDetails stanza extensions. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.Returns the root element XML namespace.int
Returns the number of users currently in the queue that are waiting to be routed to an agent.getUsers()
Returns the set of users in the queue that are waiting to be routed to an agent (as QueueUser objects).toXML
(XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT_NAME
Element name of the stanza extension.- See Also:
-
NAMESPACE
Namespace of the stanza extension.- See Also:
-
QNAME
-
-
Constructor Details
-
QueueDetails
public QueueDetails()
-
-
Method Details
-
getUserCount
Returns the number of users currently in the queue that are waiting to be routed to an agent.- Returns:
- the number of users in the queue.
-
getUsers
Returns the set of users in the queue that are waiting to be routed to an agent (as QueueUser objects).- Returns:
- a Set for the users waiting in a queue.
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
toXML
-