|
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.Control
org.eclipse.soda.dk.device.Container
public abstract class Container
The Container class implements the ControlService interface.
Control,
ControlService,
ErrorListener,
Hashtable,
MessageHandler| Field Summary | |
|---|---|
protected long |
broadcastCommandCount
Define the broadcast command count (long) field. |
protected long |
broadcastMeasurementCount
Define the broadcast measurement count (long) field. |
protected long |
broadcastSignalCount
Define the broadcast signal count (long) field. |
protected Measurement |
capabilities
Defines the Capabilities measurement. |
protected static int |
CHANNEL_CHANGED_EXCEPTION_RESOURCE
Define the device changed exception resource (int) constant. |
protected Measurement |
configuration
Defines the Configuration measurement. |
protected static int |
DEVICE_ACTIVE_STATE_RESOURCE
Define the device active state resource (int) constant. |
protected static int |
DEVICE_ALIVE_STATE_RESOURCE
Define the device alive state resource (int) constant. |
protected static int |
DEVICE_CHANGED_EXCEPTION_RESOURCE
Define the device changed exception resource (int) constant. |
protected static int |
DEVICE_CONNECTED_STATE_RESOURCE
Define the device connected state resource (int) constant. |
protected static int |
DEVICE_CREATED_STATE_RESOURCE
Define the device created state resource (int) constant. |
protected static int |
DEVICE_DEAD_STATE_RESOURCE
Define the device dead state resource (int) constant. |
protected static int |
DEVICE_STARTED_STATE_RESOURCE
Define the device started state resource (int) constant. |
protected static int[] |
DEVICE_STATE_RESOURCE_TABLE
Define the device state resource table (int[]) constant. |
protected static int |
EXCEPTION_NO_TRANSPORT_RESOURCE
Define the exception no transport resource (int) constant. |
protected static int |
INITIALIZE_CONFIGURATION_EXCEPTION_RESOURCE
Define the exception no transport resource (int) constant. |
protected static int |
INITIALIZE_CONFIGURATION_MISCOMPARE_RESOURCE
Define the initialize configuration miscompare resource (int) constant. |
protected static int |
INITIALIZE_CONFIGURATION_RESOURCE
Define the initialize configuration resource (int) constant. |
protected static int |
INITIALIZE_CONFIGURATION_SAME_RESOURCE
Define the initialize configuration same resource (int) constant. |
protected static int |
INITIALIZE_READ_EXCEPTION_RESOURCE
Define the initialize read exception resource (int) constant. |
protected static int |
INITIALIZE_WRITE_EXCEPTION_RESOURCE
Define the initialize write exception resource (int) constant. |
protected int |
logLevel
Define the log level (int) field. |
protected static int |
MESSAGE_RECEIVED_EXCEPTION_RESOURCE
Define the message received exception resource (int) constant. |
protected Measurement |
metrics
Define the metrics (Measurement) field. |
static int |
NOTIFICATION_PRIORITY_DEFAULT
Define the notification priority default (int) constant. |
protected int |
notificationPriority
Define the notification priority (int) field. |
protected static int |
PROCESSING_UNABLE_TO_KEEP_UP_EXCEPTION_RESOURCE
Define the processing unable to keep up exception resource (int) constant. |
protected static int |
RUN_EXCEPTION_RESOURCE
Define the run exception resource (int) constant. |
protected static int |
SEND_EXCEPTION_RESOURCE
Define the send exception resource (int) constant. |
protected java.lang.Object |
stateChanged
Define the state changed (Object) field. |
protected Measurement |
status
Define the status (Measurement) field. |
static char |
TOPIC_DELIMITER
Define the topic delimiter (char) constant. |
| Fields inherited from class org.eclipse.soda.dk.device.Control |
|---|
EXCEPTION_READ_FAILED_RESOURCE, SET_VALUE_EXCEPTION_RESOURCE |
| Constructor Summary | |
|---|---|
protected |
Container()
Constructs a Container object. |
protected |
Container(java.lang.String key)
Constructs an instance of this class from the specified key parameter. |
| Method Summary | |
|---|---|
void |
activate()
Activate. |
void |
activate(ChannelService channel)
Activate. |
void |
addData(java.lang.String topic,
java.util.Dictionary data)
Add data with the specified topic and data parameters. |
protected void |
addQualifiedKeys(java.lang.String id)
Add qualified keys with the specified new id parameter. |
protected boolean |
attemptRecoveryFromError(int errorNumber,
java.lang.Throwable error)
Attempt recovery from error with the specified error number and error parameters and return the boolean result. |
void |
broadcast(java.lang.String topic,
java.util.Dictionary data)
Publish with the specified arg0 and arg1 parameters. |
void |
broadcastStatus()
Broadcast status. |
void |
broadcastStatus(java.lang.Object timestamp,
int newState,
int oldState)
Broadcast status with the specified timestamp, new state and old state parameters. |
protected void |
changeIds(java.lang.String oldId,
java.lang.String newId)
Change ids with the specified old id and new id parameters. |
java.util.Map |
collectMetrics()
Collect metrics and return the Map result. |
org.osgi.framework.Filter |
createFilter(java.lang.String filterString)
Create filter with the specified filter string parameter and return the Filter result. |
void |
deactivate()
Deactivate. |
void |
deactivate(ChannelService channel)
Deactivate. |
java.util.Enumeration |
elements()
Perform the elementsData method and return the Enumeration result. |
void |
errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
The errorOccurred method is called when an error has occurred. |
void |
exit()
Exit. |
void |
fireContainerChanged(java.lang.Object timestamp,
int newState,
int oldState)
Fire container changed with the specified timestamp, new state and old state parameters. |
void |
fireErrorOccurred(java.lang.Object timestamp,
java.lang.Object data)
Fire error occurred with the specified timestamp and data parameters. |
ControlService |
get(java.lang.String key)
Get with the specified key parameter and return the ControlService result. |
long |
getBroadcastCommandCount()
Gets the broadcast command count (long) value. |
long |
getBroadcastMeasurementCount()
Gets the broadcast measurement count (long) value. |
long |
getBroadcastSignalCount()
Gets the broadcast signal count (long) value. |
org.osgi.framework.BundleContext |
getBundleContext()
Gets the bundle context value. |
MeasurementService |
getCapabilities()
Defines the Capabilities measurement. |
CommandService |
getCommand(java.lang.String key)
Perform the getCommand method and return the CommandService result. |
MeasurementService |
getConfiguration()
Defines the Configuration measurement. |
java.util.Dictionary |
getConfigurationInformation()
Return the property table. |
java.lang.Object |
getConfigurationInformation(java.lang.String propertyName)
Get configuration information with the specified property name parameter and return the Object result. |
ConfigurationService |
getConfigurationService()
Gets the configuration service value. |
protected int |
getControlCapacity()
Gets the control capacity (int) value. |
java.util.Hashtable |
getControls()
Gets the Hashtable controls property value. |
abstract java.lang.String |
getDefaultKey()
Method getDefaultKey. |
short |
getDefaultStyle()
Gets the default style (short) value. |
protected int |
getErrorSeverity(int errorNumber,
java.lang.Throwable error)
Get error severity with the specified error number and error parameters and return the int result. |
int |
getInformation()
Gets the int information property value. |
java.lang.Object |
getLogDetails4()
Gets the log details4 (Object) value. |
java.lang.Object |
getLogDetails5()
Gets the log details5 (Object) value. |
java.lang.Object |
getLogDetails6()
Gets the log details6 (Object) value. |
int |
getLogLevel()
Gets the log level (int) value. |
MeasurementService |
getMeasurement(java.lang.String key)
Perform the getMeasurement method and return the MeasurementService result. |
Measurement |
getMetrics()
Gets the metrics (Measurement) value. |
NotificationController |
getNotificationController()
Gets the notification controller value. |
int |
getNotificationPriority()
Gets the notification priority (int) value. |
int |
getNotificationPriorityDefault()
Gets the notification priority default (int) value. |
org.eclipse.soda.dk.notification.service.NotificationService |
getNotificationService()
Gets the notification service value. |
java.lang.Number |
getNumberValue(java.lang.Object data)
Get number with the specified data parameter and return the Number result. |
java.lang.String |
getPrefix()
Gets the prefix (String) value. |
long |
getReadTimeout()
Gets the read timeout (long) value. |
SignalService |
getSignal(java.lang.String key)
Perform the getSignal method and return the SignalService result. |
int |
getState()
Gets the state (int) value. |
MeasurementService |
getStatus()
Defines the Status measurement. |
java.util.Dictionary |
getStatusDictionary(int newState,
int oldState)
Get status dictionary with the specified new state and old state parameters and return the Dictionary result. |
java.lang.String |
getString(java.lang.String key,
java.lang.String defaultString)
Get string with the specified key and default string parameters and key ( String) parameter. |
int |
getStyle()
Gets the int style property value. |
TransportService |
getTransport()
Gets the Transport transport property value. |
java.lang.Object |
handleMethodMetrics(int code,
Measurement measurement,
java.lang.Object data)
Handle method metrics with the specified code, measurement and data parameters and return the Object result. |
void |
initializeMeasurements()
Perform the initializeMeasurements action method. |
void |
initializeMeasurements(ChannelService channel)
Perform the initializeMeasurements action method. |
boolean |
isInitializeMeasurements()
Gets the boolean initializeMeasurements property value. |
boolean |
isRunning()
Gets the running (boolean) value. |
java.util.Enumeration |
keys()
Perform the keys method and return the Enumeration result. |
protected void |
load(ControlService control)
Load with the specified control parameter. |
void |
notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
Notification received with the specified external key and data parameters. |
java.lang.String |
prependPrefix(java.lang.String topic)
Prepend prefix with the specified topic parameter and return the String |
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 |
put(ControlService control)
Put with the specified control parameter. |
void |
put(java.lang.String key,
ControlService control)
Perform the put action method. |
void |
putConfigurationInformation(java.lang.String propertyName,
java.lang.Object value)
Set the specified property value. |
void |
register(java.lang.String topic)
Subscribe with the specified arg0 and arg1 parameters. |
void |
register(java.lang.String[] topics)
Subscribe with the specified arg0 and arg1 parameters. |
void |
remove(java.lang.String key)
Perform the remove action method. |
void |
removeListeners(DeviceService device)
Remove listeners with the specified device parameter. |
protected void |
removeQualifiedKeys()
Remove qualified keys. |
void |
send(ChannelService channel,
MessageService message)
Send with the specified channel and message parameters. |
void |
send(ChannelService channel,
MessageService message,
ResponseListener responseListener)
Send with the specified channel, message and response listener parameters. |
void |
send(MessageService message)
Send with the specified message parameter. |
void |
send(MessageService message,
ResponseListener responseListener)
Send with the specified message and response listener parameters. |
void |
setBroadcastCommandCount(long broadcastCommandCount)
Sets the broadcast command count value. |
void |
setBroadcastMeasurementCount(long broadcastMeasurementCount)
Sets the broadcast measurement count value. |
void |
setBroadcastSignalCount(long broadcastSignalCount)
Sets the broadcast signal count value. |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
Sets the bundle context value. |
void |
setConfigurationInformation(java.util.Dictionary configurationInformation)
Sets the configuration information value. |
protected void |
setInformation(int information)
Sets the information value. |
void |
setListenersNull()
Set listeners null. |
void |
setLogLevel(int logLevel)
Sets the log level value. |
void |
setMetrics(Measurement metrics)
Sets the metrics value. |
void |
setNotificationController(NotificationController notificationController)
Sets the notification controller value. |
void |
setNotificationPriority(int notificationPriority)
Sets the notification priority value. |
void |
setNotificationService(org.eclipse.soda.dk.notification.service.NotificationService notificationService)
Sets the notification service value. |
void |
setState(int state)
Sets the state value. |
protected void |
setStateLocal(int state)
Sets the state local value. |
void |
setStyle(short style)
Sets the style value. |
void |
setTransport(TransportService transport)
Sets the transport value. |
void |
setup()
Method setup. |
void |
setupCustom()
Setup custom. |
void |
setupNotification()
Setup notification. |
void |
setupNotificationCustom()
Setup notification custom. |
void |
start()
Start. |
void |
startupCommands()
Startup commands. |
void |
startupCommands(ChannelService channel)
Startup commands. |
void |
stop()
Stop. |
java.lang.String |
toString()
Returns the string value. |
void |
toStringInfo(java.lang.StringBuffer buffer)
To string info with the specified buffer parameter. |
void |
transportStartedWait()
Active wait. |
void |
unregister(org.eclipse.soda.dk.notification.service.NotificationListener pubSubListener)
Unregister with the specified pub sub listener parameter. |
void |
unsubscribe()
Unsubscribe. |
void |
updateBroadcastCommandCount()
Update broadcast command count. |
void |
updateBroadcastMeasurementCount()
Update broadcast measurement count. |
void |
updateBroadcastSignalCount()
Update broadcast signal count. |
java.lang.String |
validConfigurationId(java.lang.String name)
Valid configuration id with the specified name parameter and return the String result. |
| Methods inherited from class org.eclipse.soda.dk.device.Control |
|---|
equalsValue, findMethod, getCodeKey, getKey, getQualifiedKey, getResource, setKey, setQualifiedKey |
| 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
public static final int NOTIFICATION_PRIORITY_DEFAULT
protected static final int INITIALIZE_CONFIGURATION_RESOURCE
protected static final int[] DEVICE_STATE_RESOURCE_TABLE
protected static final int INITIALIZE_CONFIGURATION_MISCOMPARE_RESOURCE
protected static final int DEVICE_CREATED_STATE_RESOURCE
protected static final int INITIALIZE_CONFIGURATION_SAME_RESOURCE
protected static final int DEVICE_CHANGED_EXCEPTION_RESOURCE
protected static final int EXCEPTION_NO_TRANSPORT_RESOURCE
protected static final int DEVICE_DEAD_STATE_RESOURCE
protected static final int CHANNEL_CHANGED_EXCEPTION_RESOURCE
protected static final int RUN_EXCEPTION_RESOURCE
protected static final int DEVICE_ALIVE_STATE_RESOURCE
protected static final int INITIALIZE_READ_EXCEPTION_RESOURCE
protected static final int DEVICE_CONNECTED_STATE_RESOURCE
protected static final int INITIALIZE_WRITE_EXCEPTION_RESOURCE
protected static final int DEVICE_ACTIVE_STATE_RESOURCE
protected static final int SEND_EXCEPTION_RESOURCE
protected static final int DEVICE_STARTED_STATE_RESOURCE
protected static final int PROCESSING_UNABLE_TO_KEEP_UP_EXCEPTION_RESOURCE
protected static final int MESSAGE_RECEIVED_EXCEPTION_RESOURCE
protected static final int INITIALIZE_CONFIGURATION_EXCEPTION_RESOURCE
protected final java.lang.Object stateChanged
protected Measurement status
protected Measurement configuration
protected Measurement capabilities
protected Measurement metrics
protected long broadcastCommandCount
protected long broadcastMeasurementCount
protected long broadcastSignalCount
protected int logLevel
protected int notificationPriority
| Constructor Detail |
|---|
protected Container()
Container object.
Container(String)protected Container(java.lang.String key)
String) parameter. The key (String)
key - The key (String) parameter.Container()| Method Detail |
|---|
public void activate()
activate(ChannelService)public void activate(ChannelService channel)
channel - The channel (ChannelService) parameter.activate()
public void addData(java.lang.String topic,
java.util.Dictionary data)
topic - The topic (String) parameter.data - The data (Dictionary) parameter.protected void addQualifiedKeys(java.lang.String id)
String) parameter. The id (String) parameter. The id (String)
id - The ID (String) parameter.removeQualifiedKeys()
protected boolean attemptRecoveryFromError(int errorNumber,
java.lang.Throwable error)
attemptRecoveryFromError in class ControlerrorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
boolean) value.
public void broadcast(java.lang.String topic,
java.util.Dictionary data)
String) parameter. The arg1 (Object) parameter. The topic (String) parameter. The data (Dictionary) parameter. The topic (
String)
topic - The topic (String) parameter.data - The data (Dictionary) parameter.public void broadcastStatus()
broadcastStatus(Object,int,int),
getStatus()
public void broadcastStatus(java.lang.Object timestamp,
int newState,
int oldState)
timestamp - The time stamp (Object) parameter.newState - The new state (int) parameter.oldState - The old state (int) parameter.broadcastStatus(),
getStatus()
protected void changeIds(java.lang.String oldId,
java.lang.String newId)
String) parameter. The new id (String) parameter. The old id (String) parameter. The new id (String) parameter. The old id (
String)
oldId - The old ID (String) parameter.newId - The new ID (String) parameter.public java.util.Map collectMetrics()
Map) value.getMetrics(),
handleMethodMetrics(int,Measurement,Object),
setMetrics(Measurement)
public org.osgi.framework.Filter createFilter(java.lang.String filterString)
throws org.osgi.framework.InvalidSyntaxException
filterString - The filter string (String) parameter.
Filter) value.
org.osgi.framework.InvalidSyntaxException - Invalid Syntax Exception.public void deactivate()
deactivate(ChannelService)public void deactivate(ChannelService channel)
channel - The channel (ChannelService) parameter.deactivate()public java.util.Enumeration elements()
Enumeration result.
Enumeration) value.
public void errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
Object) parameter. The timestamp (Object) parameter. The data (Object)
parameter. The source (Object) parameter. The timestamp (Object)
errorOccurred in interface ErrorListenererrorOccurred in class Controlsource - The source (Object) parameter.timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.fireErrorOccurred(Object,Object)public void exit()
public void fireContainerChanged(java.lang.Object timestamp,
int newState,
int oldState)
timestamp - The time stamp (Object) parameter.newState - The new state (int) parameter.oldState - The old state (int) parameter.
public void fireErrorOccurred(java.lang.Object timestamp,
java.lang.Object data)
timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.public ControlService get(java.lang.String key)
key - The key (String) parameter.
ControlService) value. Thepublic long getBroadcastCommandCount()
long) value.setBroadcastCommandCount(long),
updateBroadcastCommandCount()public long getBroadcastMeasurementCount()
long) value.setBroadcastMeasurementCount(long),
updateBroadcastMeasurementCount()public long getBroadcastSignalCount()
long) value.setBroadcastSignalCount(long),
updateBroadcastSignalCount()public org.osgi.framework.BundleContext getBundleContext()
BundleContext) value.setBundleContext(BundleContext)public MeasurementService getCapabilities()
MeasurementService)
public CommandService getCommand(java.lang.String key)
throws java.lang.ClassCastException
CommandService result.
key - The key (String) parameter.
CommandService)
java.lang.ClassCastException - Class Cast Exception.public MeasurementService getConfiguration()
MeasurementService)public java.util.Dictionary getConfigurationInformation()
Dictionary)getConfigurationInformation(String),
putConfigurationInformation(String,Object),
setConfigurationInformation(Dictionary)public java.lang.Object getConfigurationInformation(java.lang.String propertyName)
propertyName - The property name (String) parameter.
Object)getConfigurationInformation(),
putConfigurationInformation(String,Object),
setConfigurationInformation(Dictionary)public ConfigurationService getConfigurationService()
getConfigurationService in class EscObjectConfigurationService)protected int getControlCapacity()
public java.util.Hashtable getControls()
Hashtable controls property value.
Hashtable) value.public abstract java.lang.String getDefaultKey()
String) value.public short getDefaultStyle()
short) value.
protected int getErrorSeverity(int errorNumber,
java.lang.Throwable error)
getErrorSeverity in class ControlerrorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
int) value.EscObject.getErrorSeverity(int,Throwable)public int getInformation()
int information property value.
int) value.getConfigurationInformation(),
getConfigurationInformation(String),
putConfigurationInformation(String,Object),
setConfigurationInformation(Dictionary),
setInformation(int)public java.lang.Object getLogDetails4()
getLogDetails4 in class EscObjectObject) value.public java.lang.Object getLogDetails5()
getLogDetails5 in class EscObjectObject) value.public java.lang.Object getLogDetails6()
getLogDetails6 in class EscObjectObject) value.public int getLogLevel()
getLogLevel in class EscObjectint) value.setLogLevel(int)
public MeasurementService getMeasurement(java.lang.String key)
throws java.lang.ClassCastException
MeasurementService result.
key - The key (String) parameter.
MeasurementService)
java.lang.ClassCastException - Class Cast Exception.public Measurement getMetrics()
Measurement) value.collectMetrics(),
handleMethodMetrics(int,Measurement,Object),
setMetrics(Measurement)public NotificationController getNotificationController()
NotificationController)setNotificationController(NotificationController)public int getNotificationPriority()
int) value.setNotificationPriority(int)public int getNotificationPriorityDefault()
int) value.public org.eclipse.soda.dk.notification.service.NotificationService getNotificationService()
NotificationService)setNotificationService(NotificationService)public java.lang.Number getNumberValue(java.lang.Object data)
data - The data (Object) parameter.
Number) value.public java.lang.String getPrefix()
String) value.prependPrefix(String),
prependPrefix(String,String)public long getReadTimeout()
long) value.
public SignalService getSignal(java.lang.String key)
throws java.lang.ClassCastException
SignalService result. String href="java.lang.ClassCastException.html">ClassCastException Thrown if the ClassCastException exception condition occurs. The key (
String) parameter. Class Cast Exception. The key (String) parameter. Class Cast Exception. Class Cast Exception.
key - The key (String) parameter.
SignalService) value.
java.lang.ClassCastException - Class Cast Exception.public int getState()
int) value.setState(int)public MeasurementService getStatus()
MeasurementService)broadcastStatus(),
broadcastStatus(Object,int,int)
public java.util.Dictionary getStatusDictionary(int newState,
int oldState)
int) value. The new state (int) parameter. The old
newState - The new state (int) parameter.oldState - The old state (int) parameter.
Dictionary)
public java.lang.String getString(java.lang.String key,
java.lang.String defaultString)
String) parameter. The default string (String) parameter. The key (String) parameter. The
getString in class EscObjectkey - The key (String) parameter.defaultString - The default string (String) parameter.
String) value. ThetoString()public int getStyle()
int style property value.
int) value.getDefaultStyle(),
setStyle(short)public TransportService getTransport()
Transport transport property value.
TransportService)setTransport(TransportService)
public java.lang.Object handleMethodMetrics(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.public void initializeMeasurements()
initializeMeasurements(ChannelService),
isInitializeMeasurements()public void initializeMeasurements(ChannelService channel)
channel - The channel (ChannelService) parameter.initializeMeasurements(),
isInitializeMeasurements()public boolean isInitializeMeasurements()
boolean initializeMeasurements property value.
boolean)public boolean isRunning()
boolean) value.public java.util.Enumeration keys()
Enumeration result.
Enumeration) value.protected void load(ControlService control)
control - The control (ControlService) parameter.
public void notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
String) parameter. The data (Dictionary) parameter. The external key (String)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.public java.lang.String prependPrefix(java.lang.String topic)
topic - The topic (String) parameter.
String) value.getPrefix(),
prependPrefix(String,String)
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.getPrefix(),
prependPrefix(String)public void put(ControlService control)
control - The control (ControlService) parameter.put(String,ControlService)
public void put(java.lang.String key,
ControlService control)
key - The key (String) parameter.control - The control (ControlService) parameter.put(ControlService)
public void putConfigurationInformation(java.lang.String propertyName,
java.lang.Object value)
propertyName - The property name (String) parameter.value - The value (Object) parameter.getConfigurationInformation(),
getConfigurationInformation(String),
setConfigurationInformation(Dictionary)public void register(java.lang.String topic)
topic - The topic (String) parameter.register(String[])public void register(java.lang.String[] topics)
String[]) The topics (String[]) parameter. The pub sub listener (NotificationListener)
topics - The topics (String[]) parameter.register(String)public void remove(java.lang.String key)
java.lang.String The key (String)
key - The key (String) parameter.public void removeListeners(DeviceService device)
device - The device (DeviceService) parameter.protected void removeQualifiedKeys()
addQualifiedKeys(String)
public void send(ChannelService channel,
MessageService message)
channel - The channel (ChannelService) parameter.message - The message (MessageService) parameter.send(ChannelService,MessageService,ResponseListener),
send(MessageService),
send(MessageService,ResponseListener)
public void send(ChannelService channel,
MessageService message,
ResponseListener responseListener)
channel - The channel (ChannelService) parameter.message - The message (MessageService) parameter.responseListener - The response listener (ResponseListener) parameter.send(ChannelService,MessageService),
send(MessageService),
send(MessageService,ResponseListener)public void send(MessageService message)
message - The message (MessageService) parameter.send(ChannelService,MessageService),
send(ChannelService,MessageService,ResponseListener),
send(MessageService,ResponseListener)
public void send(MessageService message,
ResponseListener responseListener)
message - The message (MessageService) parameter.responseListener - The response listener (ResponseListener) parameter.send(ChannelService,MessageService),
send(ChannelService,MessageService,ResponseListener),
send(MessageService)public void setBroadcastCommandCount(long broadcastCommandCount)
broadcastCommandCount - The broadcast command count (long) parameter.getBroadcastCommandCount(),
updateBroadcastCommandCount()public void setBroadcastMeasurementCount(long broadcastMeasurementCount)
broadcastMeasurementCount - The broadcast measurement count (long) parameter.getBroadcastMeasurementCount(),
updateBroadcastMeasurementCount()public void setBroadcastSignalCount(long broadcastSignalCount)
broadcastSignalCount - The broadcast signal count (long) parameter.getBroadcastSignalCount(),
updateBroadcastSignalCount()public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
bundleContext - The bundle context (BundleContext) parameter.getBundleContext()public void setConfigurationInformation(java.util.Dictionary configurationInformation)
configurationInformation - The configuration information (Dictionary) parameter.getConfigurationInformation(),
getConfigurationInformation(String),
putConfigurationInformation(String,Object)protected void setInformation(int information)
information - The information (int) parameter.getConfigurationInformation(),
getConfigurationInformation(String),
getInformation(),
putConfigurationInformation(String,Object),
setConfigurationInformation(Dictionary)public void setListenersNull()
public void setLogLevel(int logLevel)
logLevel - The log level (int) parameter.getLogLevel()public void setMetrics(Measurement metrics)
metrics - The metrics (Measurement) parameter.collectMetrics(),
getMetrics(),
handleMethodMetrics(int,Measurement,Object)public void setNotificationController(NotificationController notificationController)
notificationController - The notification controller (NotificationController) parameter.getNotificationController()public void setNotificationPriority(int notificationPriority)
notificationPriority - The notification priority (int) parameter.getNotificationPriority()public void setNotificationService(org.eclipse.soda.dk.notification.service.NotificationService notificationService)
notificationService - The notification service (NotificationService) parameter.getNotificationService()public void setState(int state)
state - The state (int) parameter.getState()protected final void setStateLocal(int state)
state - The state (int) parameter.public void setStyle(short style)
style - The style (short) parameter.getDefaultStyle(),
getStyle()public void setTransport(TransportService transport)
transport - The transport (TransportService) parameter.getTransport()public void setup()
public void setupCustom()
setupNotificationCustom()public void setupNotification()
public void setupNotificationCustom()
public void start()
public void startupCommands()
startupCommands(ChannelService)public void startupCommands(ChannelService channel)
channel - The channel (ChannelService) parameter.startupCommands()public void stop()
public java.lang.String toString()
toString in class ControlString) value.getString(String,String)public void toStringInfo(java.lang.StringBuffer buffer)
StringBuffer) parameter. The buffer (StringBuffer) parameter. The
toStringInfo in class EscObjectbuffer - The buffer (StringBuffer) parameter.public void transportStartedWait()
public void unregister(org.eclipse.soda.dk.notification.service.NotificationListener pubSubListener)
pubSubListener - The pub sub listener (NotificationListener) parameter.public void unsubscribe()
public void updateBroadcastCommandCount()
getBroadcastCommandCount(),
setBroadcastCommandCount(long)public void updateBroadcastMeasurementCount()
getBroadcastMeasurementCount(),
setBroadcastMeasurementCount(long)public void updateBroadcastSignalCount()
getBroadcastSignalCount(),
setBroadcastSignalCount(long)public java.lang.String validConfigurationId(java.lang.String name)
name - The name (String) parameter.
String) value.
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||