Class 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 Detail

      • 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