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 Details

    • getUserJID

      public Jid getUserJID()
    • getUserID

      public Jid getUserID()
      Get user id.
      Returns:
      the jid of the user for which this revocation was issued
    • 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