|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.notification.client.NotificationClient
public class NotificationClient
| Field Summary | |
|---|---|
static char |
TOPIC_DELIMITER
Define the topic delimiter (char) constant. |
| Constructor Summary | |
|---|---|
NotificationClient()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
broadcast(java.lang.String topic,
java.util.Dictionary data)
|
protected NotificationController |
getNotificationController()
Gets the notification controller value. |
NotificationService |
getNotificationService()
Gets the pub sub service value. |
void |
notificationReceived(java.lang.String externalKey,
java.lang.Object data)
|
java.lang.String |
prependPrefix(java.lang.String topicPrefix,
java.lang.String topic)
Prepend prefix with the specified topic prefix and topic parameters and return the String result. |
void |
register(java.lang.String topic)
|
void |
register(java.lang.String[] topics)
|
protected void |
setNotificationController(NotificationController notificationController)
Sets the notification controller value. |
void |
setNotificationService(NotificationService notificationService)
Sets the pub sub service value. |
void |
unregister()
Unregister. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final char TOPIC_DELIMITER
| Constructor Detail |
|---|
public NotificationClient()
| Method Detail |
|---|
public void broadcast(java.lang.String topic,
java.util.Dictionary data)
topic - The topic (String) parameter.data - The data (Dictionary) parameter.protected NotificationController getNotificationController()
NotificationController)
value.setNotificationController(NotificationController)public NotificationService getNotificationService()
NotificationService) value.setNotificationService(NotificationService)
public void notificationReceived(java.lang.String externalKey,
java.lang.Object data)
externalKey - The external key (String) parameter.data - The data (Object) parameter.
public java.lang.String prependPrefix(java.lang.String topicPrefix,
java.lang.String topic)
topicPrefix - The topic prefix (String) parameter.topic - The topic (String) parameter.
String) value.public void register(java.lang.String topic)
topic - The topic (String) parameter.register(String[])public void register(java.lang.String[] topics)
topics - The topics (String[]) parameter.register(String)protected void setNotificationController(NotificationController notificationController)
NotificationController)
parameter.
notificationController - The notification controller (NotificationController) parameter.getNotificationController()public void setNotificationService(NotificationService notificationService)
NotificationService)
parameter. The pub sub service (NotificationService)
parameter.
The notification service (NotificationService)
parameter.
notificationService - The notification service (NotificationService) parameter.getNotificationService()public void unregister()
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||