|
2009-01-09 1.2.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.device.NotificationController
public class NotificationController
| Field Summary | |
|---|---|
protected char |
idSeparator
Define the id separator (char) field. |
| Fields inherited from interface org.eclipse.soda.dk.notification.service.NotificationService |
|---|
BROADCAST_THRESHOLD_KEY, BUNDLE_DATA_KEY, Capabilities, CAPABILITIES_EXTERNAL_KEY, CAPABILITIES_GET_EXTERNAL_KEY, CAPABILITIES_READ_EXTERNAL_KEY, Configuration, CONFIGURATION_DATA_KEY, CONFIGURATION_EXTERNAL_KEY, CONFIGURATION_GET_EXTERNAL_KEY, CONFIGURATION_READ_EXTERNAL_KEY, ERROR_EXTERNAL_KEY, EVENT_DATA_KEY, EXCEPTION_DATA_KEY, EXECUTE_EXTERNAL_KEY, FACTORY_SERVICE_NAME, GET_EXTERNAL_KEY, ID_DATA_KEY, LEVEL_DATA_KEY, LEVEL_DEFAULT, LEVEL_EXTENSION, LEVEL_KEY, LEVEL_MAXIMUM, LEVEL_MAXIMUM_KEY, LEVEL_MINIMUM, LEVEL_MINIMUM_KEY, LEVEL_MONITOR, MESSAGE_DATA_KEY, Metrics, METRICS_EXTERNAL_KEY, METRICS_GET_EXTERNAL_KEY, NOTIFICATION_HOST_DATA_KEY, NOTIFICATION_ID_DATA_KEY, NOTIFICATION_TIMESTAMP_DATA_KEY, NOTIFY_THRESHOLD_KEY, READ_EXTERNAL_KEY, RECEIVED_EVENT_DATA_KEY, RECEIVED_ID_DATA_KEY, SERVICE_NAME, SET_EXTERNAL_KEY, Status, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY, STATUS_READ_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(org.eclipse.soda.dk.notification.service.NotificationService notificationService,
Container container)
Constructs an instance of this class from the specified notification service parameter. |
|
NotificationController(org.eclipse.soda.dk.notification.service.NotificationService notificationService,
Container container,
java.lang.String id)
Constructs an instance of this class from the specified notification service, container and ID parameters. |
|
NotificationController(org.eclipse.soda.dk.notification.service.NotificationService notificationService,
Container container,
java.lang.String id,
int notificationPriority)
Constructs an instance of this class from the specified notification service, container, ID and notification priority parameters. |
|
| Method Summary | |
|---|---|
void |
addData(java.lang.String externalKey,
java.util.Dictionary data)
Add receivedData with the specified receivedData parameter. |
void |
addQualifiedKeys(java.lang.String id)
Add qualified keys with the specified id and controls parameters. |
void |
addReceivedData(java.lang.String externalKey,
java.util.Dictionary notifyData)
Add received data with the specified external key and notify data parameters. |
void |
broadcast(java.lang.String externalKey,
java.util.Dictionary data)
Broadcast with the specified external key and data parameters. |
void |
commandExecuted(CommandService source,
java.lang.Object timestamp,
ChannelService channel,
java.lang.Object data)
Command executed with the specified source, timestamp, channel and data parameters. |
void |
commandExecuted(CommandService source,
java.lang.Object timestamp,
java.lang.Object data)
Command executed with the specified source, timestamp and data parameters. |
void |
errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
Error occurred with the specified source, timestamp and data parameters. |
void |
exit()
Exit. |
org.osgi.framework.BundleContext |
getBundleContext()
Gets the bundle context value. |
Container |
getContainer()
Gets the container value. |
java.lang.String |
getId()
Gets the ID (String) value. |
org.eclipse.soda.dk.notification.service.NotificationService |
getNotificationService()
Gets the notification service value. |
NotificationQueue |
getQueue()
Gets the queue (NotificationQueue) value. |
java.util.Dictionary |
getReceivedData()
Gets the received data (Dictionary) value. |
java.lang.String |
getReceivedExternalKey()
Gets the received external key (String) value. |
java.lang.String |
getSymbolicName()
Gets the symbolic name (String) value. |
java.lang.Thread |
getThread()
Gets the thread value. |
boolean |
isRunning()
Gets the running (boolean) value. |
void |
measurementChanged(MeasurementService source,
java.lang.Object timestamp,
ChannelService channel,
java.lang.Object newValue,
java.lang.Object oldValue)
Measurement changed with the specified source, timestamp, channel, new value and old value parameters. |
void |
measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
Measurement changed with the specified source, timestamp, new value and old value parameters. |
void |
notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
Notification received with the specified external key and data parameters. |
void |
process(java.lang.String externalKey,
java.util.Dictionary data)
Process with the specified external key and receivedData parameters. |
java.lang.Object |
publishValue(java.lang.Object value)
Publish value with the specified value parameter and return the Object result. |
void |
register(java.lang.String externalKey)
Register with the specified external key parameter. |
void |
register(java.lang.String[] externalKeys)
Register with the specified external keys parameter. |
void |
register(java.lang.String[] externalKeys,
org.eclipse.soda.dk.notification.service.NotificationListener listener)
Register with the specified external keys and listener parameters. |
void |
register(java.lang.String externalKey,
org.eclipse.soda.dk.notification.service.NotificationListener listener)
Register with the specified external key and listener parameters. |
void |
removeQualifiedKeys()
Remove qualified keys. |
void |
run()
Run. |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
Sets the bundle context value. |
void |
setContainer(Container container)
Sets the container value. |
void |
setId(java.lang.String id)
Sets the ID value. |
void |
setNotificationService(org.eclipse.soda.dk.notification.service.NotificationService notificationService)
Sets the notification service value. |
void |
setQueue(NotificationQueue queue)
Sets the queue value. |
void |
setReceivedData(java.util.Dictionary data)
Sets the received data value. |
void |
setReceivedExternalKey(java.lang.String receivedExternalKey)
Sets the received external key value. |
void |
setRunning(boolean running)
Sets the running value. |
void |
setSymbolicName(java.lang.String symbolicName)
Sets the symbolic name value. |
void |
setThread(java.lang.Thread thread)
Sets the thread value. |
void |
signalOccurred(SignalService source,
java.lang.Object timestamp,
ChannelService channel,
java.lang.Object data)
Signal occurred with the specified source, timestamp, channel and data parameters. |
void |
signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
Signal occurred with the specified source, timestamp and receivedData parameters. |
java.lang.String |
toString()
Returns the string value. |
void |
unregister()
Unregister. |
void |
unregister(org.eclipse.soda.dk.notification.service.NotificationListener listener)
Unregister with the specified listener parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected char idSeparator
| Constructor Detail |
|---|
public NotificationController()
NotificationController(NotificationService,Container),
NotificationController(NotificationService,Container,String),
NotificationController(NotificationService,Container,String,int)
public NotificationController(org.eclipse.soda.dk.notification.service.NotificationService notificationService,
Container container)
NotificationService) parameter. The container (Container) parameter. The The container (
Container) parameter. The notification
notificationService - The notification service (NotificationService) parameter.container - The container (Container) parameter.NotificationController(),
NotificationController(NotificationService,Container,String),
NotificationController(NotificationService,Container,String,int)
public NotificationController(org.eclipse.soda.dk.notification.service.NotificationService notificationService,
Container container,
java.lang.String id)
notificationService - The notification service (NotificationService) parameter.container - The container (Container) parameter.id - The ID (String) parameter.NotificationController(),
NotificationController(NotificationService,Container),
NotificationController(NotificationService,Container,String,int)
public NotificationController(org.eclipse.soda.dk.notification.service.NotificationService notificationService,
Container container,
java.lang.String id,
int notificationPriority)
notificationService - The notification service (NotificationService) parameter.container - The container (Container) parameter.id - The ID (String) parameter.notificationPriority - The notification priority (int) parameter.NotificationController(),
NotificationController(NotificationService,Container),
NotificationController(NotificationService,Container,String)| Method Detail |
|---|
public void addData(java.lang.String externalKey,
java.util.Dictionary data)
Dictionary)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.addReceivedData(String,Dictionary),
getReceivedData(),
setReceivedData(Dictionary)public void addQualifiedKeys(java.lang.String id)
String) parameter. The controls (Map) parameter. The id (String)
id - The ID (String) parameter.removeQualifiedKeys()
public void addReceivedData(java.lang.String externalKey,
java.util.Dictionary notifyData)
externalKey - The external key (String) parameter.notifyData - The notify data (Dictionary) parameter.getReceivedData(),
setReceivedData(Dictionary)
public void broadcast(java.lang.String externalKey,
java.util.Dictionary data)
broadcast in interface org.eclipse.soda.dk.notification.service.NotificationServiceexternalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
public void commandExecuted(CommandService source,
java.lang.Object timestamp,
ChannelService channel,
java.lang.Object data)
commandExecuted in interface MultiplexCommandListenersource - The source (CommandService) parameter.timestamp - The time stamp (Object) parameter.channel - The channel (ChannelService) parameter.data - The data (Object) parameter.commandExecuted(CommandService,Object,Object)
public void commandExecuted(CommandService source,
java.lang.Object timestamp,
java.lang.Object data)
commandExecuted in interface CommandListenersource - The source (CommandService) parameter.timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.commandExecuted(CommandService,Object,ChannelService,Object)
public void errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
errorOccurred in interface ErrorListenersource - The source (Object) parameter.timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.signalOccurred(SignalService,Object,ChannelService,Object),
signalOccurred(SignalService,Object,Object)public void exit()
public org.osgi.framework.BundleContext getBundleContext()
BundleContext) value.setBundleContext(BundleContext)public Container getContainer()
Container) value.setContainer(Container)public java.lang.String getId()
getId in class EscObjectString) value.setId(String)public org.eclipse.soda.dk.notification.service.NotificationService getNotificationService()
NotificationService)setNotificationService(NotificationService)public NotificationQueue getQueue()
Queue) value.setQueue(NotificationQueue)public java.util.Dictionary getReceivedData()
Dictionary) value.addReceivedData(String,Dictionary),
setReceivedData(Dictionary)public java.lang.String getReceivedExternalKey()
String) value.setReceivedExternalKey(String)public java.lang.String getSymbolicName()
String) value.setSymbolicName(String)public java.lang.Thread getThread()
Thread) value.setThread(Thread)public boolean isRunning()
boolean) value.setRunning(boolean)
public void measurementChanged(MeasurementService source,
java.lang.Object timestamp,
ChannelService channel,
java.lang.Object newValue,
java.lang.Object oldValue)
measurementChanged in interface MultiplexMeasurementListenersource - The source (MeasurementService) parameter.timestamp - The time stamp (Object) parameter.channel - The channel (ChannelService) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.measurementChanged(MeasurementService,Object,Object,Object)
public void measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
measurementChanged in interface MeasurementListenersource - The source (MeasurementService) parameter.timestamp - The time stamp (Object) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.measurementChanged(MeasurementService,Object,ChannelService,Object,Object)
public void notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
notificationReceived in interface org.eclipse.soda.dk.notification.service.NotificationListenerexternalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
public void process(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.public java.lang.Object publishValue(java.lang.Object value)
value - The value (Object) parameter.
Object) value.public void register(java.lang.String externalKey)
String)
externalKey - The external key (String) parameter.register(String,NotificationListener),
register(String[]),
register(String[],NotificationListener)
public void register(java.lang.String externalKey,
org.eclipse.soda.dk.notification.service.NotificationListener listener)
register in interface org.eclipse.soda.dk.notification.service.NotificationServiceexternalKey - The external key (String) parameter.listener - The listener (NotificationListener) parameter.register(String),
register(String[]),
register(String[],NotificationListener)public void register(java.lang.String[] externalKeys)
String[])
externalKeys - The external keys (String[]) parameter.register(String),
register(String,NotificationListener),
register(String[],NotificationListener)
public void register(java.lang.String[] externalKeys,
org.eclipse.soda.dk.notification.service.NotificationListener listener)
register in interface org.eclipse.soda.dk.notification.service.NotificationServiceexternalKeys - The external keys (String[]) parameter.listener - The listener (NotificationListener) parameter.register(String),
register(String,NotificationListener),
register(String[])public void removeQualifiedKeys()
addQualifiedKeys(String)public void run()
run in interface java.lang.Runnablepublic void setBundleContext(org.osgi.framework.BundleContext bundleContext)
bundleContext - The bundle context (BundleContext) parameter.getBundleContext()public void setContainer(Container container)
container - The container (Container) parameter.getContainer()public void setId(java.lang.String id)
id - The ID (String) parameter.getId()public void setNotificationService(org.eclipse.soda.dk.notification.service.NotificationService notificationService)
notificationService - The notification service (NotificationService) parameter.getNotificationService()public void setQueue(NotificationQueue queue)
queue - The queue (NotificationQueue) parameter.getQueue()public void setReceivedData(java.util.Dictionary data)
data - The data (Dictionary) parameter.addReceivedData(String,Dictionary),
getReceivedData()public void setReceivedExternalKey(java.lang.String receivedExternalKey)
receivedExternalKey - The received external key (String) parameter.getReceivedExternalKey()public void setRunning(boolean running)
running - The running (boolean) parameter.isRunning()public void setSymbolicName(java.lang.String symbolicName)
symbolicName - The symbolic name (String) parameter.getSymbolicName()public void setThread(java.lang.Thread thread)
thread - The thread (Thread) parameter.getThread()
public void signalOccurred(SignalService source,
java.lang.Object timestamp,
ChannelService channel,
java.lang.Object data)
signalOccurred in interface MultiplexSignalListenersource - The source (SignalService) parameter.timestamp - The time stamp (Object) parameter.channel - The channel (ChannelService) parameter.data - The data (Object) parameter.errorOccurred(Object,Object,Object),
signalOccurred(SignalService,Object,Object)
public void signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
signalOccurred in interface SignalListenersource - The source (SignalService) parameter.timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.errorOccurred(Object,Object,Object),
signalOccurred(SignalService,Object,ChannelService,Object)public java.lang.String toString()
toString in class EscObjectString) value.EscObject.getStaticString(String,String),
EscObject.getString(String,String)public void unregister()
unregister(NotificationListener)public void unregister(org.eclipse.soda.dk.notification.service.NotificationListener listener)
unregister in interface org.eclipse.soda.dk.notification.service.NotificationServicelistener - The listener (NotificationListener) parameter.unregister()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||