|
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.notification.client.NotificationClient
org.eclipse.soda.dk.adapter.test.AdapterTest
public class AdapterTest
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the class name. |
protected boolean |
configurationSave
Define the configuration save (boolean) field. |
static int |
DEFAULT_PRIORITY
Deprecated. #PRIORITY_DEFAULT |
static long |
DEFAULT_READ_TIMEOUT
Deprecated. #READ_TIMEOUT_DEFAULT |
static int |
DEFAULT_TEST_COUNT
Deprecated. #TEST_COUNT_DEFAULT |
static long |
DEFAULT_TEST_DELAY
Deprecated. #TEST_DELAY_DEFAULT |
static boolean |
DEFAULT_TEST_EXECUTE
Deprecated. #TEST_EXECUTE_DEFAULT |
static boolean |
DEFAULT_TEST_EXECUTE_READ
Deprecated. #TEST_EXECUTE_READ_DEFAULT |
static boolean |
DEFAULT_TEST_EXECUTE_WRITE
Deprecated. #TEST_EXECUTE_WRITE_DEFAULT |
static boolean |
DEFAULT_TEST_READ
Deprecated. #TEST_READ_DEFAULT |
static boolean |
DEFAULT_TEST_TRIGGER
Deprecated. #TEST_TRIGGER_DEFAULT |
static long |
DEFAULT_TOTAL_TEST_TIME
Deprecated. #TOTAL_TEST_TIME_DEFAULT |
protected static int |
DEVICE_TEST_ACTIVE_STATE_RESOURCE
Define the device test active state resource (int) constant. |
protected static int |
DEVICE_TEST_ALIVE_STATE_RESOURCE
Define the device test alive state resource (int) constant. |
protected static int |
DEVICE_TEST_COMMAND_DATA_NOTIFICATION_RESOURCE
Define the device test command data notification resource (int) constant. |
protected static int |
DEVICE_TEST_COMMAND_EXCEPTION_RESOURCE
Define the device test command exception resource (int) constant. |
protected static int |
DEVICE_TEST_COMMAND_NOT_FOUND_RESOURCE
Define the device test command not found resource (int) constant. |
protected static int |
DEVICE_TEST_COMMAND_NOTIFICATION_RESOURCE
Define the device test command notification resource (int) constant. |
protected static int |
DEVICE_TEST_CONNECTED_STATE_RESOURCE
Define the device test connected state resource (int) constant. |
protected static int |
DEVICE_TEST_CONTROL_NOTIFICATION_RESOURCE
Define the device test control notification resource (int) constant. |
protected static int |
DEVICE_TEST_CREATED_STATE_RESOURCE
Define the device test created state resource (int) constant. |
protected static int |
DEVICE_TEST_DATA_NOTIFICATION_RESOURCE
Define the device test data notification resource (int) constant. |
protected static int |
DEVICE_TEST_DEAD_STATE_RESOURCE
Define the device test dead state resource (int) constant. |
protected static int |
DEVICE_TEST_DEVICE_CONFIGURATION_MISCOMPARE_RESOURCE
Define the device test device configuration miscompare resource (int) constant. |
protected static int |
DEVICE_TEST_ERROR_NOTIFICATION_RESOURCE
Define the device test error notification resource (int) constant. |
protected static int |
DEVICE_TEST_EXIT_RESOURCE
Define the device test exit resource (int) constant. |
protected static int |
DEVICE_TEST_MEASUREMENT_EXCEPTION_RESOURCE
Define the device test measurement exception resource (int) constant. |
protected static int |
DEVICE_TEST_MEASUREMENT_NOT_FOUND_RESOURCE
Define the device test measurement not found resource (int) constant. |
protected static int |
DEVICE_TEST_MEASUREMENT_NOTIFICATION_RESOURCE
Define the device test measurement notification resource (int) constant. |
protected static int |
DEVICE_TEST_MEASUREMENT_VALUE_NOTIFICATION_RESOURCE
Define the device test measurement value notification resource (int) constant. |
protected static int |
DEVICE_TEST_SEND_EXCEPTION_RESOURCE
Define the device test send exception resource (int) constant. |
protected static int |
DEVICE_TEST_SIGNAL_DATA_NOTIFICATION_RESOURCE
Define the device test signal data notification resource (int) constant. |
protected static int |
DEVICE_TEST_SIGNAL_EXCEPTION_RESOURCE
Define the device test signal exception resource (int) constant. |
protected static int |
DEVICE_TEST_SIGNAL_NOT_FOUND_RESOURCE
Define the device test signal not found resource (int) constant. |
protected static int |
DEVICE_TEST_SIGNAL_NOTIFICATION_RESOURCE
Define the device test signal notification resource (int) constant. |
protected static int |
DEVICE_TEST_START_EXECUTION_RESOURCE
Define the device test start execution resource (int) constant. |
protected static int |
DEVICE_TEST_START_RESOURCE
Define the device test start resource (int) constant. |
protected static int |
DEVICE_TEST_STARTED_STATE_RESOURCE
Define the device test started state resource (int) constant. |
protected static int[] |
DEVICE_TEST_STATE_RESOURCE_TABLE
Define the device test state resource table (int[]) constant. |
protected static int |
DEVICE_TEST_STOP_EXECUTION_RESOURCE
Define the device test stop execution resource (int) constant. |
protected static int |
DEVICE_TEST_STOP_RESOURCE
Define the device test stop resource (int) constant. |
protected static int |
DEVICE_TEST_WAITING_RESOURCE
Define the device test waiting resource (int) constant. |
protected java.util.Dictionary |
deviceConfigurationInformation
Define the device configuration information (Dictionary) field. |
static java.lang.String |
ID_VALUE
Define the id value (String) constant. |
static java.lang.String |
PREFIX_VALUE
Define the prefix value (String) constant. |
static int |
PRIORITY_DEFAULT
Define the priority default (int) constant. |
static long |
READ_TIMEOUT_DEFAULT
Define the default read timeout (long) constant. |
static int |
TEST_COUNT_DEFAULT
Define the test count default (int) constant. |
static long |
TEST_DELAY_DEFAULT
Define the test delay default (long) constant. |
static boolean |
TEST_EXECUTE_DEFAULT
Define the test execute default (boolean) constant. |
static boolean |
TEST_EXECUTE_READ_DEFAULT
Define the test execute read default (boolean) constant. |
static boolean |
TEST_EXECUTE_WRITE_DEFAULT
Define the test execute write default (boolean) constant. |
static boolean |
TEST_READ_DEFAULT
Define the test read default (boolean) constant. |
static boolean |
TEST_TRIGGER_DEFAULT
Define the test trigger default (boolean) constant. |
static long |
TOTAL_TEST_TIME_DEFAULT
Define the total test time default (long) constant. |
| Fields inherited from class org.eclipse.soda.dk.notification.client.NotificationClient |
|---|
TOPIC_DELIMITER |
| Fields inherited from interface org.eclipse.soda.dk.adapter.test.service.AdapterTestService |
|---|
SERVICE_NAME |
| Fields inherited from interface org.eclipse.soda.dk.device.service.DeviceListener |
|---|
ADDED, CHANGED, REMOVED |
| Constructor Summary | |
|---|---|
AdapterTest()
Constructs a new instance of the RfidAsystSecsDeviceTest class. |
|
| Method Summary | |
|---|---|
void |
channelChanged(DeviceService source,
java.lang.Object timestamp,
ChannelService channel,
int newState,
int oldState)
Channel changed with the specified source, timestamp, channel, new state and old state parameters. |
void |
checkNotification()
Check notification. |
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 |
controlChanged(DeviceService container,
java.lang.Object timestamp,
ControlService control,
int code)
Control changed with the specified container, timestamp, control and code parameters. |
void |
deviceChanged(DeviceService deviceService,
java.lang.Object timestamp,
int newState,
int oldState)
Device changed with the specified device service, timestamp, new state and old state parameters. |
void |
deviceConfigurationCompare()
Transport configuration compare. |
void |
deviceConfigurationSave()
Transport configuration save. |
void |
endTests()
End tests. |
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. |
java.lang.String |
formatData(java.lang.Object data)
Format data with the specified data parameter and return the String result. |
AdapterService |
getAdapter()
Gets the adapter (AdapterService) value. |
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. |
java.lang.String |
getCopyright()
Gets the copyright (String) value. |
AdapterService |
getDefaultAdapter()
Gets the default adapter (AdapterService) value. |
DeviceService |
getDefaultDevice()
Gets the default device (DeviceService) value. |
org.eclipse.soda.dk.notification.service.NotificationService |
getDefaultNotificationService()
Gets the default notification service (NotificationService) value. |
DeviceService |
getDevice()
Gets the device (DeviceService) value. |
java.util.Dictionary |
getDeviceConfigurationInformation()
Gets the device configuration information (Dictionary) 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. |
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. |
java.lang.Object |
getLogDetails7()
Gets the log details7 (Object) value. |
int |
getPriority()
Gets the priority (int) value. |
long |
getReadTimeout()
Gets the read timeout (long) value. |
java.lang.String |
getResource(int resourceId)
Get resource with the specified resource ID parameter and return the String result. |
int |
getTestCount()
Gets the test count (int) value. |
long |
getTestDelay()
Gets the test delay (long) value. |
boolean |
getTestExecute()
Gets the testExecute property value. |
boolean |
getTestExecuteRead()
Gets the testExecuteRead property value. |
boolean |
getTestExecuteWrite()
Gets the testExecuteWrite property value. |
boolean |
getTestRead()
Gets the testRead property value. |
boolean |
getTestTrigger()
Gets the testTrigger property value. |
java.lang.Thread |
getThread()
Gets the thread value. |
long |
getTotalTestTime()
Gets the total test time (long) value. |
TransportService |
getTransport()
Gets the transport (TransportService) value. |
java.lang.String |
getVendor()
Gets the vendor (String) value. |
boolean |
isActive()
Gets the active status. |
boolean |
isConfigurationSave()
Gets the configuration save (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.lang.Object data)
Notification received with the specified external key and data parameters. |
void |
putConfigurationInformation(java.lang.String propertyName,
java.lang.Object value)
Put configuration information with the specified property name and value parameters. |
void |
run()
Run tests for the device. |
void |
run(java.lang.String[] arguments)
Run with the specified arguments parameter. |
void |
runTests()
Run tests. |
void |
setActive(boolean active)
Sets the active value. |
void |
setAdapter(AdapterService adapter)
Sets the adapter value. |
void |
setConfigurationInformation(java.util.Dictionary configurationInformation)
Sets the configuration information value. |
void |
setConfigurationSave(boolean configurationSave)
Sets the configuration save value. |
void |
setDevice(DeviceService device)
Sets the device value. |
void |
setDeviceConfigurationInformation(java.util.Dictionary deviceConfigurationInformation)
Sets the device configuration information value. |
void |
setPriority(int priority)
Sets the priority value. |
void |
setReadTimeout(long readTimeout)
Sets the read timeout value. |
void |
setTestCount(int testCount)
Sets the test count value. |
void |
setTestDelay(long testDelay)
Sets the test delay value. |
void |
setTestExecute(boolean testExecute)
Sets the test execute value. |
void |
setTestExecuteRead(boolean testExecuteRead)
Sets the test execute read value. |
void |
setTestExecuteWrite(boolean testExecuteWrite)
Sets the test execute write value. |
void |
setTestRead(boolean testRead)
Sets the test read value. |
void |
setTestTrigger(boolean testTrigger)
Sets the test trigger value. |
void |
setThread(java.lang.Thread thread)
Sets the thread value. |
void |
setTotalTestTime(long totalTestTime)
Sets the total test time value. |
void |
setup()
Setup. |
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 data parameters. |
void |
start()
Start the test case. |
void |
startTests()
Start tests. |
void |
stop()
Stops the test case. |
void |
test()
Tests the device. |
void |
testCommand(java.lang.String commandName)
Test command with the specified command name parameter. |
void |
testMeasurement(java.lang.String measurementName)
Test measurement with the specified measurement name parameter. |
void |
testSignal(java.lang.String signalName)
Test signal with the specified signal name parameter. |
java.lang.String |
toString()
Returns the string value. |
void |
waitForStarted()
Wait for started. |
| Methods inherited from class org.eclipse.soda.dk.notification.client.NotificationClient |
|---|
broadcast, getNotificationController, getNotificationService, prependPrefix, register, register, setNotificationController, setNotificationService, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.adapter.test.service.AdapterTestService |
|---|
getNotificationService, setNotificationService |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
public static final int PRIORITY_DEFAULT
public static final int DEFAULT_PRIORITY
public static final int TEST_COUNT_DEFAULT
public static final int DEFAULT_TEST_COUNT
public static final long TEST_DELAY_DEFAULT
public static final long DEFAULT_TEST_DELAY
public static final boolean TEST_EXECUTE_DEFAULT
public static final boolean DEFAULT_TEST_EXECUTE
public static final boolean TEST_EXECUTE_READ_DEFAULT
public static final boolean DEFAULT_TEST_EXECUTE_READ
public static final boolean TEST_EXECUTE_WRITE_DEFAULT
public static final boolean DEFAULT_TEST_EXECUTE_WRITE
public static final boolean TEST_READ_DEFAULT
public static final boolean DEFAULT_TEST_READ
public static final boolean TEST_TRIGGER_DEFAULT
public static final boolean DEFAULT_TEST_TRIGGER
public static final long TOTAL_TEST_TIME_DEFAULT
public static final long DEFAULT_TOTAL_TEST_TIME
public static final long READ_TIMEOUT_DEFAULT
public static final long DEFAULT_READ_TIMEOUT
protected static final int DEVICE_TEST_DEAD_STATE_RESOURCE
protected static final int DEVICE_TEST_CREATED_STATE_RESOURCE
protected static final int DEVICE_TEST_ALIVE_STATE_RESOURCE
protected static final int DEVICE_TEST_CONNECTED_STATE_RESOURCE
protected static final int DEVICE_TEST_ACTIVE_STATE_RESOURCE
protected static final int DEVICE_TEST_STARTED_STATE_RESOURCE
protected static final int[] DEVICE_TEST_STATE_RESOURCE_TABLE
protected static final int DEVICE_TEST_ERROR_NOTIFICATION_RESOURCE
protected static final int DEVICE_TEST_SIGNAL_NOTIFICATION_RESOURCE
protected static final int DEVICE_TEST_SIGNAL_DATA_NOTIFICATION_RESOURCE
protected static final int DEVICE_TEST_COMMAND_NOTIFICATION_RESOURCE
protected static final int DEVICE_TEST_COMMAND_DATA_NOTIFICATION_RESOURCE
protected static final int DEVICE_TEST_MEASUREMENT_NOTIFICATION_RESOURCE
protected static final int DEVICE_TEST_MEASUREMENT_VALUE_NOTIFICATION_RESOURCE
protected static final int DEVICE_TEST_START_RESOURCE
protected static final int DEVICE_TEST_STOP_RESOURCE
protected static final int DEVICE_TEST_WAITING_RESOURCE
protected static final int DEVICE_TEST_SEND_EXCEPTION_RESOURCE
protected static final int DEVICE_TEST_COMMAND_NOT_FOUND_RESOURCE
protected static final int DEVICE_TEST_MEASUREMENT_NOT_FOUND_RESOURCE
protected static final int DEVICE_TEST_SIGNAL_NOT_FOUND_RESOURCE
protected static final int DEVICE_TEST_COMMAND_EXCEPTION_RESOURCE
protected static final int DEVICE_TEST_MEASUREMENT_EXCEPTION_RESOURCE
protected static final int DEVICE_TEST_SIGNAL_EXCEPTION_RESOURCE
protected static final int DEVICE_TEST_START_EXECUTION_RESOURCE
protected static final int DEVICE_TEST_STOP_EXECUTION_RESOURCE
protected static final int DEVICE_TEST_CONTROL_NOTIFICATION_RESOURCE
protected static final int DEVICE_TEST_EXIT_RESOURCE
protected static final int DEVICE_TEST_DEVICE_CONFIGURATION_MISCOMPARE_RESOURCE
protected static final int DEVICE_TEST_DATA_NOTIFICATION_RESOURCE
public static final java.lang.String ID_VALUE
public static final java.lang.String PREFIX_VALUE
protected java.util.Dictionary deviceConfigurationInformation
protected boolean configurationSave
| Constructor Detail |
|---|
public AdapterTest()
| Method Detail |
|---|
public void channelChanged(DeviceService source,
java.lang.Object timestamp,
ChannelService channel,
int newState,
int oldState)
channelChanged in interface MultiplexDeviceListenersource - The source (DeviceService) parameter.timestamp - The time stamp (Object) parameter.channel - The channel (ChannelService) parameter.newState - The new state (int) parameter.oldState - The old state (int) parameter.controlChanged(DeviceService,Object,ControlService,int),
deviceChanged(DeviceService,Object,int,int),
measurementChanged(MeasurementService,Object,ChannelService,Object,Object),
measurementChanged(MeasurementService,Object,Object,Object)public void checkNotification()
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 controlChanged(DeviceService container,
java.lang.Object timestamp,
ControlService control,
int code)
controlChanged in interface DeviceListenercontainer - The container (DeviceService) parameter.timestamp - The time stamp (Object) parameter.control - The control (ControlService) parameter.code - The code (int) parameter.channelChanged(DeviceService,Object,ChannelService,int,int),
deviceChanged(DeviceService,Object,int,int),
measurementChanged(MeasurementService,Object,ChannelService,Object,Object),
measurementChanged(MeasurementService,Object,Object,Object)
public void deviceChanged(DeviceService deviceService,
java.lang.Object timestamp,
int newState,
int oldState)
deviceChanged in interface DeviceListenerdeviceService - The device service (DeviceService) parameter.timestamp - The time stamp (Object) parameter.newState - The new state (int) parameter.oldState - The old state (int) parameter.channelChanged(DeviceService,Object,ChannelService,int,int),
controlChanged(DeviceService,Object,ControlService,int),
measurementChanged(MeasurementService,Object,ChannelService,Object,Object),
measurementChanged(MeasurementService,Object,Object,Object)public void deviceConfigurationCompare()
public void deviceConfigurationSave()
isConfigurationSave(),
setConfigurationSave(boolean)public void endTests()
runTests(),
startTests()
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.
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()
exit in interface AdapterTestServicepublic java.lang.String formatData(java.lang.Object data)
data - The data (Object) parameter.
String) value. The data (Object) parameter.public AdapterService getAdapter()
getAdapter in interface AdapterTestServiceAdapterService) value.getDefaultAdapter(),
setAdapter(AdapterService)public java.util.Dictionary getConfigurationInformation()
getConfigurationInformation in interface AdapterTestServiceDictionary) value.getConfigurationInformation(String),
getDeviceConfigurationInformation(),
putConfigurationInformation(String,Object),
setConfigurationInformation(Dictionary),
setDeviceConfigurationInformation(Dictionary)public java.lang.Object getConfigurationInformation(java.lang.String propertyName)
propertyName - The property name (String) parameter.
Object) value. The property name (String) parameter.getConfigurationInformation(),
getDeviceConfigurationInformation(),
putConfigurationInformation(String,Object),
setConfigurationInformation(Dictionary),
setDeviceConfigurationInformation(Dictionary)public ConfigurationService getConfigurationService()
getConfigurationService in class EscObjectConfigurationService) value.public java.lang.String getCopyright()
String) value.
public AdapterService getDefaultAdapter()
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
AdapterService) value. Class Not Found Exception. Illegal Access Exception. Instantiation Exception.
java.lang.ClassNotFoundException - Class Not Found Exception.
java.lang.IllegalAccessException - Illegal Access Exception.
java.lang.InstantiationException - Instantiation Exception.
public DeviceService getDefaultDevice()
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
DeviceService) value. Class Not Found Exception. Illegal Access Exception. Instantiation Exception. Class Not Found Exception. Illegal Access Exception. Instantiation Exception.
java.lang.ClassNotFoundException - Class Not Found Exception.
java.lang.IllegalAccessException - Illegal Access Exception.
java.lang.InstantiationException - Instantiation Exception.public org.eclipse.soda.dk.notification.service.NotificationService getDefaultNotificationService()
NotificationService) value.public DeviceService getDevice()
DeviceService) value.getDefaultDevice(),
setDevice(DeviceService)public java.util.Dictionary getDeviceConfigurationInformation()
Dictionary) value.setDeviceConfigurationInformation(Dictionary)
protected int getErrorSeverity(int errorNumber,
java.lang.Throwable error)
getErrorSeverity in class EscObjecterrorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
int) value. The error number (int) parameter. The error (Throwable) parameter.LogServicepublic 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 java.lang.Object getLogDetails7()
getLogDetails7 in class EscObjectObject) value.public int getPriority()
int) value.setPriority(int)public long getReadTimeout()
long) value.setReadTimeout(long)public java.lang.String getResource(int resourceId)
getResource in class EscObjectresourceId - The resource ID (int) parameter.
String) value. The resource id (int) parameter.EscObject.getDefaultResource(int)public int getTestCount()
int) value.setTestCount(int)public long getTestDelay()
long) value.setTestDelay(long)public boolean getTestExecute()
boolean) value.setTestExecute(boolean)public boolean getTestExecuteRead()
boolean) value.setTestExecuteRead(boolean)public boolean getTestExecuteWrite()
boolean) value.setTestExecuteWrite(boolean)public boolean getTestRead()
boolean) value.setTestRead(boolean)public boolean getTestTrigger()
boolean) value.setTestTrigger(boolean)public java.lang.Thread getThread()
Thread) value.setThread(Thread)public long getTotalTestTime()
long) value.setTotalTestTime(long)public TransportService getTransport()
TransportService) value.public java.lang.String getVendor()
String) value.public boolean isActive()
boolean) value.setActive(boolean)public boolean isConfigurationSave()
boolean) value.deviceConfigurationSave(),
setConfigurationSave(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.channelChanged(DeviceService,Object,ChannelService,int,int),
controlChanged(DeviceService,Object,ControlService,int),
deviceChanged(DeviceService,Object,int,int),
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.channelChanged(DeviceService,Object,ChannelService,int,int),
controlChanged(DeviceService,Object,ControlService,int),
deviceChanged(DeviceService,Object,int,int),
measurementChanged(MeasurementService,Object,ChannelService,Object,Object)
public void notificationReceived(java.lang.String externalKey,
java.lang.Object data)
notificationReceived in class org.eclipse.soda.dk.notification.client.NotificationClientexternalKey - The external key (String) parameter.data - The data (Object) parameter.
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),
getDeviceConfigurationInformation(),
setConfigurationInformation(Dictionary),
setDeviceConfigurationInformation(Dictionary)public void run()
run in interface java.lang.Runnablerun(String[])public void run(java.lang.String[] arguments)
arguments - The arguments (String[]) parameter.run()public void runTests()
endTests(),
startTests()public void setActive(boolean active)
active - The active (boolean) parameter.isActive()public void setAdapter(AdapterService adapter)
setAdapter in interface AdapterTestServiceadapter - The adapter (AdapterService) parameter.getAdapter(),
getDefaultAdapter()public void setConfigurationInformation(java.util.Dictionary configurationInformation)
setConfigurationInformation in interface AdapterTestServiceconfigurationInformation - The configuration information (Dictionary) parameter.getConfigurationInformation(),
getConfigurationInformation(String),
getDeviceConfigurationInformation(),
putConfigurationInformation(String,Object),
setDeviceConfigurationInformation(Dictionary)public void setConfigurationSave(boolean configurationSave)
configurationSave - The configuration save (boolean) parameter.deviceConfigurationSave(),
isConfigurationSave()public void setDevice(DeviceService device)
device - The device (DeviceService) parameter.getDefaultDevice(),
getDevice()public void setDeviceConfigurationInformation(java.util.Dictionary deviceConfigurationInformation)
deviceConfigurationInformation - The device configuration information (Dictionary) parameter.getDeviceConfigurationInformation()public void setPriority(int priority)
priority - The priority (int) parameter.getPriority()public void setReadTimeout(long readTimeout)
readTimeout - The read timeout (long) parameter.getReadTimeout()public void setTestCount(int testCount)
testCount - The test count (int) parameter.getTestCount()public void setTestDelay(long testDelay)
testDelay - The test delay (long) parameter.getTestDelay()public void setTestExecute(boolean testExecute)
testExecute - The test execute (boolean) parameter.getTestExecute()public void setTestExecuteRead(boolean testExecuteRead)
testExecuteRead - The test execute read (boolean) parameter.getTestExecuteRead()public void setTestExecuteWrite(boolean testExecuteWrite)
testExecuteWrite - The test execute write (boolean) parameter.getTestExecuteWrite()public void setTestRead(boolean testRead)
testRead - The test read (boolean) parameter.getTestRead()public void setTestTrigger(boolean testTrigger)
testTrigger - The test trigger (boolean) parameter.getTestTrigger()public void setThread(java.lang.Thread thread)
thread - The thread (Thread) parameter.getThread()public void setTotalTestTime(long totalTestTime)
totalTestTime - The total test time (long) parameter.getTotalTestTime()public void setup()
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 void start()
start in interface AdapterTestServicepublic void startTests()
endTests(),
runTests()public void stop()
stop in interface AdapterTestServicepublic void test()
public void testCommand(java.lang.String commandName)
commandName - The command name (String) parameter.public void testMeasurement(java.lang.String measurementName)
measurementName - The measurement name (String) parameter.public void testSignal(java.lang.String signalName)
signalName - The signal name (String) parameter.public java.lang.String toString()
toString in class EscObjectString) value.EscObject.getStaticString(String,String),
EscObject.getString(String,String)public void waitForStarted()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||