Package org.jivesoftware.smackx.offline
Class OfflineMessageHeader
java.lang.Object
org.jivesoftware.smackx.offline.OfflineMessageHeader
The OfflineMessageHeader holds header information of an offline message. The header
information was retrieved using the
OfflineMessageManager
class.
Each offline message is identified by the target user of the offline message and a unique stamp.
Use OfflineMessageManager.getMessages(java.util.List)
to retrieve the whole message.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OfflineMessageHeader
-
-
Method Details
-
getUser
Returns the bare JID of the user that was offline when the message was sent.- Returns:
- the bare JID of the user that was offline when the message was sent.
-
getJid
Returns the full JID of the user that sent the message.- Returns:
- the full JID of the user that sent the message.
-
getStamp
Returns the stamp that uniquely identifies the offline message. This stamp will be used for getting the specific message or delete it. The stamp may be of the form UTC timestamps but it is not required to have that format.- Returns:
- the stamp that uniquely identifies the offline message.
-