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 protected
XMPPNotificationManager()
Constructor for XMPPNotificationManager.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XMPPNotificationManager
getInstance()
get an instance of the XMPPNotificationManagerboolean
isLoggedIn()
isLoggedInboolean
sendGroupChat(String xmppChatRoom, String xmppMessage)
send an xmpp message to a specified Chat Room.boolean
sendMessage(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.
-
-