|
1.0.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 |
|---|
| Fields inherited from class org.eclipse.soda.dk.core.EscObject |
|---|
CLONE_EXCEPTION_RESOURCE, EMPTY_BYTES, EMPTY_STRING, ERROR_OCCURRED_EXCEPTION_RESOURCE, ID_FILTER_KEY, ID_KEY, ID_KEY_ANY, INTEGER_TABLE, KEY_KEY, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_TRACE, LOG_WARNING, PREFIX_KEY, RESOURCE_BUNDLE, SLEEP_EXCEPTION_RESOURCE, SYSTEM_INFO_RESOURCE, TO_STRING_CONFIGURATION_KEYS, TRACE_LEVEL_HIGH, TRACE_LEVEL_LOW, TRACE_LEVEL_MAX, TRACE_LEVEL_MIN, TRACE_LEVEL_NONE, TRACE_LEVEL_NORMAL, TRACELEVEL_KEY, UNKNOWN_ERROR_RESOURCE |
| Constructor Summary | |
|---|---|
NotificationClient()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
broadcast(java.lang.String topic,
java.util.Dictionary data)
Publish with the specified arg0 and arg1 parameters. |
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)
Notification received with the specified external key and data parameters. |
void |
register(java.lang.String topic)
Subscribe with the specified topic parameter. |
void |
register(java.lang.String[] topics)
Subscribe with the specified topics parameter. |
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 |
| Constructor Detail |
|---|
public NotificationClient()
| Method Detail |
|---|
public void broadcast(java.lang.String topic,
java.util.Dictionary data)
String)
parameter. The arg1 (Object) parameter.
The topic (String) parameter.
The data (Object) parameter.
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)
String) parameter.
The data (Object) parameter.
externalKey - The external key (String) parameter.data - The data (Object) parameter.public void register(java.lang.String topic)
String)
parameter.
The topics (String) parameter.
topic - The topic (String) parameter.register(String[])public void register(java.lang.String[] topics)
String[])
parameter.
The topics (String[]) parameter.
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()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||