org.jivesoftware.smackx.workgroup.packet
Class AgentStatusRequest
java.lang.Object
org.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.workgroup.packet.AgentStatusRequest
public class AgentStatusRequest
- extends IQ
Agent status request packet. This packet is used by agents to request the list of
agents in a workgroup. The response packet contains a list of packets. Presence
packets from individual agents follow.
- Author:
- Matt Tucker
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
IQ.Type |
Field Summary |
static java.lang.String |
ELEMENT_NAME
Element name of the packet extension. |
static java.lang.String |
NAMESPACE
Namespace of the packet extension. |
Methods inherited from class org.jivesoftware.smack.packet.Packet |
addExtension, addExtensions, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
- Element name of the packet extension.
- See Also:
- Constant Field Values
NAMESPACE
public static final java.lang.String NAMESPACE
- Namespace of the packet extension.
- See Also:
- Constant Field Values
AgentStatusRequest
public AgentStatusRequest()
getAgentCount
public int getAgentCount()
getAgents
public java.util.Set<AgentStatusRequest.Item> getAgents()
getElementName
public java.lang.String getElementName()
getNamespace
public java.lang.String getNamespace()
getChildElementXML
public java.lang.String getChildElementXML()
- Description copied from class:
IQ
- Returns the sub-element XML section of the IQ packet, or null if there
isn't one. Packet extensions must be included, if any are defined.
Extensions of this class must override this method.
- Specified by:
getChildElementXML
in class IQ
- Returns:
- the child element section of the IQ XML.
Copyright © 2003-2007 Jive Software.