Package org.opennms.netmgt.notifd
Class XMPPNotificationManager
- java.lang.Object
-
- org.opennms.netmgt.notifd.XMPPNotificationManager
-
public class XMPPNotificationManager extends Object
Singleton class used to send messages to an XMPP Server. Used by XMPPNotificationStragetgy and XMPPGroupNotificationStrategy- Version:
- $Id: $
- Author:
- Jonathan Sartin, Benjamin Reed
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXMPPNotificationManager()Constructor for XMPPNotificationManager.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XMPPNotificationManagergetInstance()get an instance of the XMPPNotificationManagerbooleanisLoggedIn()isLoggedInbooleansendGroupChat(String xmppChatRoom, String xmppMessage)send an xmpp message to a specified Chat Room.booleansendMessage(String xmppTo, String xmppMessage)sendMessage
-
-
-
Method Detail
-
getInstance
public static XMPPNotificationManager getInstance()
get an instance of the XMPPNotificationManager- Returns:
- instance of XMPPNotificationManager
-
isLoggedIn
public boolean isLoggedIn()
isLoggedIn
- Returns:
- a boolean.
-
-