Class OfflineMessage

java.lang.Object
org.xmpp.packet.Packet
org.xmpp.packet.Message
org.jivesoftware.openfire.OfflineMessage

public class OfflineMessage extends org.xmpp.packet.Message
Subclass of Message that keeps the date when the offline message was stored in the database. The creation date and the user may be used as a unique identifier of the offline message.
Author:
Gaston Dombiak
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.xmpp.packet.Message

    org.xmpp.packet.Message.Type
  • Field Summary

    Fields inherited from class org.xmpp.packet.Packet

    docFactory, element, fromJID, toJID
  • Constructor Summary

    Constructors
    Constructor
    Description
    OfflineMessage(Date creationDate, org.dom4j.Element element)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the date when the offline message was stored in the database.

    Methods inherited from class org.xmpp.packet.Message

    addChildElement, createCopy, getBody, getChildElement, getSubject, getThread, getType, setBody, setSubject, setThread, setType

    Methods inherited from class org.xmpp.packet.Packet

    addExtension, deleteExtension, getElement, getError, getExtension, getFrom, getID, getTo, setError, setError, setFrom, setFrom, setID, setTo, setTo, toString, toXML

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OfflineMessage

      public OfflineMessage(Date creationDate, org.dom4j.Element element)
  • Method Details

    • getCreationDate

      public Date getCreationDate()
      Returns the date when the offline message was stored in the database.
      Returns:
      the date the offline message was stored.