Class RevokedOffer
java.lang.Object
org.jivesoftware.smackx.workgroup.agent.RevokedOffer
An immutable simple class to embody the information concerning a revoked offer, this is namely
the reason, the workgroup, the userJID, and the timestamp which the message was received.
-
Method Summary
Modifier and TypeMethodDescriptionGet reason.Get the session id.Get the timestamp.org.jxmpp.jid.JidGet user id.org.jxmpp.jid.Jidorg.jxmpp.jid.JidGet workgroup name.
-
Method Details
-
getUserJID
public org.jxmpp.jid.Jid getUserJID() -
getUserID
public org.jxmpp.jid.Jid getUserID()Get user id.- Returns:
- the jid of the user for which this revocation was issued
-
getWorkgroupName
public org.jxmpp.jid.Jid getWorkgroupName()Get workgroup name.- Returns:
- the fully qualified name of the workgroup
-
getSessionID
Get the session id.- Returns:
- the session id which will associate all packets for the pending chat
-
getReason
Get reason.- Returns:
- the server issued message as to why this revocation was issued
-
getTimestamp
Get the timestamp.- Returns:
- the timestamp at which the revocation was issued
-