|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.services.notification.im.XMPPNotifier org.figure8.join.services.notification.im.GoogleTalkNotifier
public class GoogleTalkNotifier
This is an implementation of SubscribersNotifier
using the Instant Messenger as notification media. This implementation uses the GoogleTalk
protocol for message sending. It uses the Smack libray for that (see
http://www.jivesoftware.org/smack for details)
Field Summary |
---|
Fields inherited from class org.figure8.join.services.notification.im.XMPPNotifier |
---|
parameters, PASSWORD_PARAM, passwordParam, PORT_PARAM, portParam, PSEUDO_PARAM, pseudoParam, ROOM_PARAM, roomParam, SERVER_PARAM, serverParam, USER_PARAM, userParam |
Constructor Summary | |
---|---|
GoogleTalkNotifier()
|
Method Summary | |
---|---|
protected XMPPConnection |
connect()
Create a new connection and log in. |
java.lang.String[] |
extractRecipients(RemoteSubscriber[] subscribers)
Extract mail addresses for subscribers to provide recipients. |
java.util.List |
getParameterDefinitionsAsList()
Get this object parameters definitions as a list. |
Methods inherited from class org.figure8.join.services.notification.im.XMPPNotifier |
---|
getChatRoom, getParameterDefinitions, getPassword, getPort, getPseudo, getServer, getUsername, notify, notify, setChatRoom, setParameter, setParameter, setParameters, setPassword, setPort, setPseudo, setServer, setUsername |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GoogleTalkNotifier()
Method Detail |
---|
public java.lang.String[] extractRecipients(RemoteSubscriber[] subscribers)
extractRecipients
in interface SubscribersNotifier
extractRecipients
in class XMPPNotifier
subscribers
- The subscribers to get recipients for
public java.util.List getParameterDefinitionsAsList()
getParameterDefinitionsAsList
in interface Configurable
getParameterDefinitionsAsList
in class XMPPNotifier
ParameterDefinition
objectsprotected XMPPConnection connect() throws NotificationException
connect
in class XMPPNotifier
NotificationException
- if an exception occurs while creating exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |