|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.notifd.XMPPNotificationManager
public class XMPPNotificationManager
Singleton class used to send messages to an XMPP Server. Used by XMPPNotificationStragetgy and XMPPGroupNotificationStrategy
| Constructor Summary | |
|---|---|
protected |
XMPPNotificationManager()
|
| Method Summary | |
|---|---|
static XMPPNotificationManager |
getInstance()
get an instance of the XMPPNotificationManager |
boolean |
isLoggedIn()
Check if manager is logged in to xmpp server. |
protected Category |
log()
|
boolean |
sendGroupChat(String xmppChatRoom,
String xmppMessage)
send an xmpp message to a specified Chat Room. |
boolean |
sendMessage(String xmppTo,
String xmppMessage)
send an xmpp message to a specified recipient. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected XMPPNotificationManager()
| Method Detail |
|---|
public static XMPPNotificationManager getInstance()
public boolean isLoggedIn()
public boolean sendMessage(String xmppTo,
String xmppMessage)
xmppTo - recipient of the xmpp messagexmppMessage - text to be sent in the body of the message
public boolean sendGroupChat(String xmppChatRoom,
String xmppMessage)
xmppChatRoom - room to send message to.xmppMessage - text to be sent in the body of the message
protected Category log()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||