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
Nested ClassesModifier and TypeClassDescriptionstatic classProvider class for QueueDetails stanza extensions. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.Returns the root element XML namespace.intReturns 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, waitMethods 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:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
toXML
-