|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.workgroup.packet.QueueDetails
public class QueueDetails
Queue details packet extension, which contains details about the users currently in a queue.
| Nested Class Summary | |
|---|---|
static class |
QueueDetails.Provider
Provider class for QueueDetails packet extensions. |
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
Element name of the packet extension. |
static String |
NAMESPACE
Namespace of the packet extension. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
public static final String NAMESPACE
| Method Detail |
|---|
public int getUserCount()
public Set<QueueUser> getUsers()
public String getElementName()
PacketExtension
getElementName in interface PacketExtensionpublic String getNamespace()
PacketExtension
getNamespace in interface PacketExtensionpublic String toXML()
PacketExtension
toXML in interface PacketExtension
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||