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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getReason()
      Get reason.
      java.lang.String getSessionID()
      Get the session id.
      java.util.Date getTimestamp()
      Get the timestamp.
      org.jxmpp.jid.Jid getUserID()
      Get user id.
      org.jxmpp.jid.Jid getUserJID()  
      org.jxmpp.jid.Jid getWorkgroupName()
      Get workgroup name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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

        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