public static class OfferRequestProvider.OfferRequestPacket extends IQ
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE| Constructor and Description |
|---|
OfferRequestProvider.OfferRequestPacket(String userJID,
String userID,
int timeout,
Map<String,List<String>> metaData,
String sessionID,
OfferContent content) |
| 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.
|
OfferContent |
getContent() |
Map<String,List<String>> |
getMetaData()
Returns any meta-data associated with the offer.
|
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.
|
String |
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.
|
String |
getUserJID()
The JID of the user that made the "join queue" request.
|
createErrorResponse, createResultIQ, getType, setType, toXMLaddCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toStringpublic OfferRequestProvider.OfferRequestPacket(String userJID, String userID, int timeout, Map<String,List<String>> metaData, String sessionID, OfferContent content)
public String getUserID()
public String getUserJID()
public String getSessionID()
public int getTimeout()
public OfferContent getContent()
public Map<String,List<String>> getMetaData()
public String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ