Commit 0e8c47ff authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Initial version. JM-625

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3693 b35dd754-fafc-0310-a699-88a17e54d16e
parent c1c02959
/**
* $RCSfile: $
* $Revision: $
* $Date: $
*
* Copyright (C) 2006 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;
/**
* Interface that let observers be notified when the server has been started or is
* about to be stopped. Use {@link XMPPServer#addServerListener(XMPPServerListener)} to
* add new listeners.
*
* @author Gaston Dombiak
*/
public interface XMPPServerListener {
/**
* Notification message indicating that the server has been started. At this point
* all server modules have been initialized and started. Message sending and receiving
* is now possible. However, some plugins may still be pending to be loaded.
*/
void serverStarted();
/**
* Notification message indication that the server is about to be stopped. At this point
* all modules are still running so all services are still available.
*/
void serverStopping();
}
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