org.jivesoftware.smackx.workgroup.packet
Class OfferRequestProvider.OfferRequestPacket
java.lang.Object
org.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.workgroup.packet.OfferRequestProvider.OfferRequestPacket
- Enclosing class:
- OfferRequestProvider
- public static class OfferRequestProvider.OfferRequestPacket
- extends IQ
Nested classes inherited from class org.jivesoftware.smack.packet.IQ |
IQ.Type |
Method Summary |
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one. |
Map |
getMetaData()
|
String |
getSessionID()
Returns the session id which will be associated with the customer for whom this offer
is extended, or null if the offer did not contain one. |
int |
getTimeout()
Returns the number of seconds the agent has to accept the offer before
it times out. |
String |
getUserID()
|
Methods inherited from class org.jivesoftware.smack.packet.Packet |
addExtension, deleteProperty, getError, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, removeExtension, setError, setFrom, setPacketID, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfferRequestProvider.OfferRequestPacket
public OfferRequestProvider.OfferRequestPacket(String uid,
int timeout,
Map metaData,
String sID)
getUserID
public String getUserID()
getSessionID
public String getSessionID()
- Returns the session id which will be associated with the customer for whom this offer
is extended, or null if the offer did not contain one.
- Returns:
- the session id associated to the customer
getTimeout
public int getTimeout()
- Returns the number of seconds the agent has to accept the offer before
it times out.
- Returns:
- the offer timeout (in seconds).
getMetaData
public Map getMetaData()
getChildElementXML
public 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 Jive Software.