Package org.jivesoftware.openfire
Interface OfflineMessageListener
public interface OfflineMessageListener
Interface to listen for offline message events. Use the
OfflineMessageStrategy.addListener(OfflineMessageListener)
method to register for events.- Author:
- Gaston Dombiak
-
Method Summary
Modifier and TypeMethodDescriptionvoidmessageBounced(org.xmpp.packet.Message message) Notification message indicating that a message was not stored offline but bounced back to the sender.voidmessageStored(OfflineMessage message) Notification message indicating that a message was stored offline since the target entity was not online at the moment.
-
Method Details
-
messageBounced
void messageBounced(org.xmpp.packet.Message message) Notification message indicating that a message was not stored offline but bounced back to the sender.- Parameters:
message- the message that was bounced.
-
messageStored
Notification message indicating that a message was stored offline since the target entity was not online at the moment.- Parameters:
message- the message that was stored offline.
-