Package org.jivesoftware.openfire
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 -
Method Summary
Modifier and TypeMethodDescriptionReturns 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, setTypeMethods inherited from class org.xmpp.packet.Packet
addExtension, deleteExtension, getElement, getError, getExtension, getFrom, getID, getTo, setError, setError, setFrom, setFrom, setID, setTo, setTo, toString, toXML
-
Constructor Details
-
OfflineMessage
-
-
Method Details
-
getCreationDate
Returns the date when the offline message was stored in the database.- Returns:
- the date the offline message was stored.
-