|
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.notification.client.NotificationController
public class NotificationController
| Field Summary | |
|---|---|
protected char |
idSperator
Define the id sperator (char) field. |
| Fields inherited from interface org.eclipse.soda.dk.notification.service.NotificationService |
|---|
ERROR_EXTERNAL_KEY, EXCEPTION_DATA_KEY, EXECUTE_EXTERNAL_KEY, FACTORY_SERVICE_NAME, GET_EXTERNAL_KEY, MESSAGE_DATA_KEY, READ_EXTERNAL_KEY, SERVICE_NAME, SET_EXTERNAL_KEY, TIMESTAMP_DATA_KEY, TOPIC_DELIMITER, TOPIC_DELIMITER_STRING, TOPIC_WILDCARD, TOPIC_WILDCARD_STRING, TRIGGER_EXTERNAL_KEY, VALUE_DATA_KEY, VALUE_OLD_DATA_KEY, WRITE_EXTERNAL_KEY |
| Constructor Summary | |
|---|---|
NotificationController()
Constructs an instance of this class. |
|
NotificationController(NotificationService notificationService,
NotificationClient container)
Constructs an instance of this class from the specified notification service parameter. |
|
| Method Summary | |
|---|---|
void |
broadcast(java.lang.String externalKey,
java.util.Dictionary data)
Notify with the specified external key and data parameters. |
java.lang.String |
getId()
Gets the id (String) value. |
NotificationClient |
getNotificationClient()
Gets the notification client value. |
NotificationService |
getNotificationService()
Gets the notification service value. |
void |
notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
Publication received with the specified arg0 and arg1 parameters. |
protected void |
notificationServiceAdded()
Notification service added. |
protected void |
notificationServiceRemoving()
Notification service removing. |
void |
register(java.lang.String externalKey)
Register with the specified external key and listener parameters. |
void |
register(java.lang.String[] externalKeys)
Register with the specified external keys and listener parameters. |
void |
register(java.lang.String[] externalKeys,
NotificationListener listener)
Register with the specified external keys and listener parameters. |
void |
register(java.lang.String externalKey,
NotificationListener listener)
Register with the specified external key and listener parameters. |
protected void |
removeQualifiedKeys()
Remove qualified keys. |
void |
setId(java.lang.String id)
Sets the id value. |
void |
setNotificationClient(NotificationClient container)
Sets the notification client value. |
void |
setNotificationService(NotificationService notificationService)
Sets the notification service value. |
void |
unregister()
Unregister. |
void |
unregister(NotificationListener listener)
Unregister with the specified listener parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected char idSperator
| Constructor Detail |
|---|
public NotificationController(NotificationService notificationService,
NotificationClient container)
NotificationService)
parameter.
The container (NotificationClient) parameter.
The notification service (NotificationService)
parameter.
notificationService - The notification service (NotificationService) parameter.container - The container (NotificationClient) parameter.NotificationController()public NotificationController()
NotificationController(NotificationService,NotificationClient)| Method Detail |
|---|
public void broadcast(java.lang.String externalKey,
java.util.Dictionary data)
String) parameter. The data (Object)
parameter.
The external key (String) parameter.
The data (Dictionary) parameter.
broadcast in interface NotificationServiceexternalKey - The external key (String) parameter.data - The data (Dictionary) parameter.public java.lang.String getId()
String) value.setId(String)public NotificationClient getNotificationClient()
NotificationClient)
value.setNotificationClient(NotificationClient)public NotificationService getNotificationService()
NotificationService)
value.setNotificationService(NotificationService)
public void notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
String) parameter. The arg1 (Object)
parameter. The external key (String) parameter. The data (Object)
parameter.
The external key (String) parameter.
The data (Dictionary) parameter.
notificationReceived in interface NotificationListenerexternalKey - The external key (String) parameter.data - The data (Dictionary) parameter.protected void notificationServiceAdded()
protected void notificationServiceRemoving()
public void register(java.lang.String externalKey,
NotificationListener listener)
String) parameter.
The listener (NotificationListener)
parameter.
register in interface NotificationServiceexternalKey - The external key (String) parameter.listener - The listener (NotificationListener) parameter.register(String[],NotificationListener),
register(String),
register(String[])
public void register(java.lang.String[] externalKeys,
NotificationListener listener)
String[]) parameter.
The listener (NotificationListener)
parameter.
register in interface NotificationServiceexternalKeys - The external keys (String[]) parameter.listener - The listener (NotificationListener) parameter.register(String,NotificationListener),
register(String),
register(String[])public void register(java.lang.String externalKey)
String) parameter. The listener (NotificationListener)
parameter.
The external key (String) parameter.
externalKey - The external key (String) parameter.register(String,NotificationListener),
register(String[],NotificationListener),
register(String[])public void register(java.lang.String[] externalKeys)
String[]) parameter. The listener (NotificationListener)
parameter.
The external keys (String[]) parameter.
externalKeys - The external keys (String[]) parameter.register(String,NotificationListener),
register(String[],NotificationListener),
register(String)protected void removeQualifiedKeys()
public void setId(java.lang.String id)
String) parameter.
The id (String) parameter.
id - The id (String) parameter.getId()public void setNotificationClient(NotificationClient container)
NotificationClient) parameter.
container - The container (NotificationClient) parameter.getNotificationClient()public void setNotificationService(NotificationService notificationService)
NotificationService)
parameter.
The notification service (NotificationService)
parameter.
notificationService - The notification service (NotificationService) parameter.getNotificationService()public void unregister(NotificationListener listener)
NotificationListener)
parameter.
The listener (NotificationListener)
parameter.
unregister in interface NotificationServicelistener - The listener (NotificationListener) parameter.unregister()public void unregister()
unregister(NotificationListener)
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||