public static class OfferRequestProvider.OfferRequestPacket
extends org.jivesoftware.smack.packet.IQ
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
static java.lang.String |
NAMESPACE |
Constructor and Description |
---|
OfferRequestPacket(org.jxmpp.jid.Jid userJID,
org.jxmpp.jid.Jid userID,
int timeout,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaData,
java.lang.String sessionID,
OfferContent content) |
Modifier and Type | Method and Description |
---|---|
OfferContent |
getContent() |
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder |
getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf) |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getMetaData()
Returns any meta-data associated with the offer.
|
java.lang.String |
getSessionID()
Returns the session ID associated with the request and ensuing chat.
|
int |
getTimeout()
Returns the number of seconds the agent has to accept the offer before
it times out.
|
org.jxmpp.jid.Jid |
getUserID()
Returns the userID, which is either the same as the userJID or a special
value that the user provided as part of their "join queue" request.
|
org.jxmpp.jid.Jid |
getUserJID()
The JID of the user that made the "join queue" request.
|
createErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementQName, getChildElementXML, getChildElementXML, getType, initializeAsResultFor, initialzeAsResultFor, isRequestIQ, isResponseIQ, setType, toString, toXML
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setFrom, setLanguage, setPacketID, setStanzaId, setStanzaId, setTo, setTo
public static final java.lang.String ELEMENT
public static final java.lang.String NAMESPACE
public OfferRequestPacket(org.jxmpp.jid.Jid userJID, org.jxmpp.jid.Jid userID, int timeout, java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaData, java.lang.String sessionID, OfferContent content)
public org.jxmpp.jid.Jid getUserID()
public org.jxmpp.jid.Jid getUserJID()
public java.lang.String getSessionID()
null
will be returned.public int getTimeout()
public OfferContent getContent()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMetaData()
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)
getIQChildElementBuilder
in class org.jivesoftware.smack.packet.IQ