Package org.jivesoftware.openfire
Interface XMPPServerListener
-
- All Known Implementing Classes:
MultiUserChatServiceImpl
,PresenceManagerImpl
public interface XMPPServerListener
Interface that let observers be notified when the server has been started or is about to be stopped. UseXMPPServer.addServerListener(XMPPServerListener)
to add new listeners.- Author:
- Gaston Dombiak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
serverStarted()
Notification message indicating that the server has been started.void
serverStopping()
Notification message indication that the server is about to be stopped.
-
-
-
Method Detail
-
serverStarted
void serverStarted()
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.
-
serverStopping
void serverStopping()
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.
-
-