public class QueueUpdate
extends java.lang.Object
implements org.jivesoftware.smack.packet.ExtensionElement
Modifier and Type | Class and Description |
---|---|
static class |
QueueUpdate.Provider |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
Element name of the stanza extension.
|
static java.lang.String |
NAMESPACE
Namespace of the stanza extension.
|
Constructor and Description |
---|
QueueUpdate(int position,
int remainingTime) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName() |
java.lang.String |
getNamespace() |
int |
getPosition()
Returns the user's position in the workgroup queue, or -1 if the
value isn't set on this packet.
|
int |
getRemaingTime()
Returns the user's estimated time left in the workgroup queue, or
-1 if the value isn't set on this packet.
|
java.lang.String |
toXML(java.lang.String enclosingNamespace) |
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public int getPosition()
public int getRemaingTime()
public java.lang.String toXML(java.lang.String enclosingNamespace)
toXML
in interface org.jivesoftware.smack.packet.Element
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.NamedElement
public java.lang.String getNamespace()
getNamespace
in interface org.jivesoftware.smack.packet.ExtensionElement