org.jivesoftware.openfire
Class OfflineMessage
java.lang.Object
org.xmpp.packet.Packet
org.xmpp.packet.Message
org.jivesoftware.openfire.OfflineMessage
public class OfflineMessage
- extends 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
Method Summary |
Date |
getCreationDate()
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 |
OfflineMessage
public OfflineMessage(Date creationDate,
org.dom4j.Element element)
getCreationDate
public Date getCreationDate()
- Returns the date when the offline message was stored in the database.
- Returns:
- the date the offline message was stored.
Copyright © 2003-2007 Jive Software.