public class QueueDetails extends 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 String |
ELEMENT_NAME
Element name of the packet extension.
|
static String |
NAMESPACE
Namespace of the packet extension.
|
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
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.
|
Set<QueueUser> |
getUsers()
Returns the set of users in the queue that are waiting to
be routed to an agent (as QueueUser objects).
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public int getUserCount()
public Set<QueueUser> getUsers()
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension