public class DepartQueuePacket extends IQ
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
Constructor and Description |
---|
DepartQueuePacket(String workgroup)
Creates a depart queue request packet to the specified workgroup.
|
DepartQueuePacket(String workgroup,
String user)
Creates a depart queue request to the specified workgroup and for the
specified user.
|
Modifier and Type | Method and Description |
---|---|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
public DepartQueuePacket(String workgroup)
workgroup
- the workgroup to depart.public DepartQueuePacket(String workgroup, String user)
workgroup
- the workgroup to depart.user
- the user to make depart from the queue.public String getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ