Commit e75ca67e authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Initial version. JM-912

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6750 b35dd754-fafc-0310-a699-88a17e54d16e
parent fb5dec24
/**
* $RCSfile: $
* $Revision: $
* $Date: $
*
* Copyright (C) 2007 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package org.jivesoftware.wildfire;
import org.xmpp.packet.Message;
/**
* Interface to listen for offline message events. Use the
* {@link OfflineMessageStrategy#addListener(OfflineMessageListener)}
* method to register for events.
*
* @author Gaston Dombiak
*/
public interface OfflineMessageListener {
/**
* Notification message indicating that a message was not stored offline but bounced
* back to the sender.
*
* @param message the message that was bounced.
*/
void messageBounced(Message message);
/**
* Notification message indicating that a message was stored offline since the target entity
* was not online at the moment.
*
* @param message the message that was stored offline.
*/
void messageStored(Message message);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment