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 Type
    Method
    Description
    void
    messageBounced(org.xmpp.packet.Message message)
    Notification message indicating that a message was not stored offline but bounced back to the sender.
    void
    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

      void messageStored(OfflineMessage message)
      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.