public class QueueDetails extends java.lang.Object implements PacketExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
QueueDetails.Provider
Provider class for QueueDetails packet extensions.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT_NAME
Element name of the packet extension.
|
static java.lang.String |
NAMESPACE
Namespace of the packet extension.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getElementName()
Returns the root element name.
|
java.lang.String |
getNamespace()
Returns the root element XML namespace.
|
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()
Returns the XML representation of the PacketExtension.
|
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()
PacketExtensiongetElementName in interface PacketExtensionpublic java.lang.String getNamespace()
PacketExtensiongetNamespace in interface PacketExtensionpublic java.lang.String toXML()
PacketExtensiontoXML in interface PacketExtension