public final class QueueDetails
extends java.lang.Object
implements org.jivesoftware.smack.packet.ExtensionElement
| Modifier and Type | Class and Description |
|---|---|
static class |
QueueDetails.Provider
Provider class for QueueDetails stanza extensions.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT_NAME
Element name of the stanza extension.
|
static java.lang.String |
NAMESPACE
Namespace of the stanza extension.
|
| Constructor and Description |
|---|
QueueDetails() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getElementName() |
java.lang.String |
getNamespace() |
int |
getUserCount()
Returns the number of users currently in the queue that are waiting to
be routed to an agent.
|
java.util.Set<QueueUser> |
getUsers()
Returns the set of users in the queue that are waiting to
be routed to an agent (as QueueUser objects).
|
java.lang.String |
toXML(java.lang.String enclosingNamespace) |
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public int getUserCount()
public java.util.Set<QueueUser> getUsers()
public java.lang.String getElementName()
getElementName in interface org.jivesoftware.smack.packet.NamedElementpublic java.lang.String getNamespace()
getNamespace in interface org.jivesoftware.smack.packet.ExtensionElementpublic java.lang.String toXML(java.lang.String enclosingNamespace)
toXML in interface org.jivesoftware.smack.packet.Element