Class RevokedOffer
- java.lang.Object
-
- org.jivesoftware.smackx.workgroup.agent.RevokedOffer
-
public class RevokedOffer extends java.lang.Object
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetReason()Get reason.java.lang.StringgetSessionID()Get the session id.java.util.DategetTimestamp()Get the timestamp.JidgetUserID()Get user id.JidgetUserJID()JidgetWorkgroupName()Get workgroup name.
-
-
-
Method Detail
-
getUserJID
public Jid getUserJID()
-
getUserID
public Jid getUserID()
Get user id.- Returns:
- the jid of the user for which this revocation was issued
-
getWorkgroupName
public Jid getWorkgroupName()
Get workgroup name.- Returns:
- the fully qualified name of the workgroup
-
getSessionID
public java.lang.String getSessionID()
Get the session id.- Returns:
- the session id which will associate all packets for the pending chat
-
getReason
public java.lang.String getReason()
Get reason.- Returns:
- the server issued message as to why this revocation was issued
-
getTimestamp
public java.util.Date getTimestamp()
Get the timestamp.- Returns:
- the timestamp at which the revocation was issued
-
-