Class RevokedOffer
- java.lang.Object
-
- org.jivesoftware.smackx.workgroup.agent.RevokedOffer
-
public class RevokedOffer extends 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 String
getReason()
Get reason.String
getSessionID()
Get the session id.Date
getTimestamp()
Get the timestamp.Jid
getUserID()
Get user id.Jid
getUserJID()
Jid
getWorkgroupName()
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 String getSessionID()
Get the session id.- Returns:
- the session id which will associate all packets for the pending chat
-
getReason
public String getReason()
Get reason.- Returns:
- the server issued message as to why this revocation was issued
-
getTimestamp
public Date getTimestamp()
Get the timestamp.- Returns:
- the timestamp at which the revocation was issued
-
-