|
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
org.eclipse.soda.dk.agent.test.AgentTest
public class AgentTest
org.eclipse.soda.dk.command.service,
org.eclipse.soda.dk.connection.service,
org.eclipse.soda.dk.core,
org.eclipse.soda.dk.core.service,
org.eclipse.soda.dk.device.service,
org.eclipse.soda.dk.agent.test,
org.eclipse.soda.dk.agent.test.service,
org.eclipse.soda.dk.measurement.service,
org.eclipse.soda.dk.nls,
org.eclipse.soda.dk.signal.service,
org.eclipse.soda.dk.transport,
org.eclipse.soda.dk.transport.service,
org.eclipse.soda.dk.command.service,
org.eclipse.soda.dk.connection.service,
org.eclipse.soda.dk.core,
org.eclipse.soda.dk.core.service,
org.eclipse.soda.dk.device.service,
org.eclipse.soda.dk.agent.test,
org.eclipse.soda.dk.agent.test.service,
org.eclipse.soda.dk.measurement.service,
org.eclipse.soda.dk.nls,
org.eclipse.soda.dk.signal.service,
org.eclipse.soda.dk.transport,
org.eclipse.soda.dk.transport.service,
org.eclipse.soda.dk.command.service,
org.eclipse.soda.dk.connection.service,
org.eclipse.soda.dk.core,
org.eclipse.soda.dk.core.service,
org.eclipse.soda.dk.device.service,
org.eclipse.soda.dk.agent.test,
org.eclipse.soda.dk.agent.test.service,
org.eclipse.soda.dk.measurement.service,
org.eclipse.soda.dk.nls,
org.eclipse.soda.dk.signal.service,
org.eclipse.soda.dk.transport,
org.eclipse.soda.dk.transport.service| 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
Define the default priority (int) constant. |
static long |
DEFAULT_READ_TIMEOUT
Define the default read timeout (long) constant. |
static int |
DEFAULT_TEST_COUNT
Define the default test count (int) constant. |
static long |
DEFAULT_TEST_DELAY
Define the default test delay (long) constant. |
static boolean |
DEFAULT_TEST_EXECUTE
Define the default test execute (boolean) constant. |
static boolean |
DEFAULT_TEST_EXECUTE_READ
Define the default test execute read (boolean) constant. |
static boolean |
DEFAULT_TEST_EXECUTE_WRITE
Define the default test execute write (boolean) constant. |
static boolean |
DEFAULT_TEST_READ
Define the default test read (boolean) constant. |
static boolean |
DEFAULT_TEST_TRIGGER
Define the default test trigger (boolean) constant. |
static long |
DEFAULT_TOTAL_TEST_TIME
Define the default total test time (long) constant. |
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. |
| 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 |
| Fields inherited from interface org.eclipse.soda.dk.agent.test.service.AgentTestService |
|---|
SERVICE_NAME |
| Fields inherited from interface org.eclipse.soda.dk.device.service.DeviceListener |
|---|
ADDED, CHANGED, REMOVED |
| Constructor Summary | |
|---|---|
AgentTest()
Constructs a new instance of the RfidAsystSecsDeviceTest class. |
|
| Method Summary | |
|---|---|
void |
checkNotification()
Check notification. |
void |
commandExecuted(CommandService source,
java.lang.Object timestamp,
java.lang.Object data)
This method is fired to all Listeners each time the command is executed. |
void |
controlChanged(DeviceService container,
java.lang.Object timestamp,
ControlService control,
int code)
The controlChanged method is called when a control was changed. |
void |
deviceChanged(DeviceService deviceService,
java.lang.Object timestamp,
int newState,
int oldState)
This method will be called when the state of the DeviceService changes. |
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)
The formatData will format the data values to a nice string. |
AgentService |
getAgent()
Gets the agent (AgentService) value. |
java.util.Dictionary |
getConfigurationInformation()
Return the property table. |
java.lang.Object |
getConfigurationInformation(java.lang.String propertyName)
Return the property value. |
ConfigurationService |
getConfigurationService()
Gets the configuration service value. |
java.lang.String |
getCopyright()
Gets the copyright (String) value. |
AgentService |
getDefaultAgent()
Gets the default agent (AgentService) value. |
DeviceService |
getDefaultDevice()
Gets the default device (DeviceService) value. |
DeviceService |
getDevice()
Gets the device to be tested. |
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. |
int |
getPriority()
Gets the priority (int) value. |
long |
getReadTimeout()
Gets the read timeout (long) value. |
java.lang.String |
getResource(int resourceId)
Gets the string resource using the supplied resourceId. |
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 to be used in testing. |
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,
java.lang.Object newValue,
java.lang.Object oldValue)
This method is fired to all Listeners each time the value of the measurement changes. |
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)
Set the specified property value. |
void |
run()
Run tests for the device. |
void |
run(java.lang.String[] args)
Run with the specified args parameter. |
void |
runTests()
Run tests. |
void |
setActive(boolean active)
Sets the active status. |
void |
setAgent(AgentService agent)
Sets the agent 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 to be tested. |
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 testExecute property value. |
void |
setTestExecuteRead(boolean testExecuteRead)
Sets the testExecuteRead property value. |
void |
setTestExecuteWrite(boolean testExecuteWrite)
Sets the testExecuteWrite property value. |
void |
setTestRead(boolean testRead)
Sets the testRead property value. |
void |
setTestTrigger(boolean testTrigger)
Sets the testTrigger property value. |
void |
setThread(java.lang.Thread thread)
Sets the thread. |
void |
setTotalTestTime(long totalTestTime)
Sets the total test time value. |
void |
setup()
Setup. |
void |
signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
This method is fired to all Listeners each time the signal triggerred. |
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, register, register, setNotificationController, setNotificationService, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
public static final int DEFAULT_PRIORITY
public static final int DEFAULT_TEST_COUNT
public static final long DEFAULT_TEST_DELAY
public static final boolean DEFAULT_TEST_EXECUTE
public static final boolean DEFAULT_TEST_EXECUTE_READ
public static final boolean DEFAULT_TEST_EXECUTE_WRITE
public static final boolean DEFAULT_TEST_READ
public static final boolean DEFAULT_TEST_TRIGGER
public static final long DEFAULT_TOTAL_TEST_TIME
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
protected java.util.Dictionary deviceConfigurationInformation
protected boolean configurationSave
| Constructor Detail |
|---|
public AgentTest()
| Method Detail |
|---|
public void checkNotification()
public void commandExecuted(CommandService source,
java.lang.Object timestamp,
java.lang.Object data)
CommandService) parameter. The timestamp (Object)
parameter. The data (Object) parameter.
commandExecuted in interface CommandListenersource - The source (CommandService) parameter.timestamp - The timestamp (Object) parameter.data - The data (Object) parameter.
public void controlChanged(DeviceService container,
java.lang.Object timestamp,
ControlService control,
int code)
org.eclipse.soda.dk.device.service.DeviceService
java.lang.Object
org.eclipse.soda.dk.device.service.ControlService
int
The device (DeviceService) parameter. The timestamp (Object)
parameter. The control (ControlService) parameter. The
code (int) parameter.
controlChanged in interface DeviceListenercontainer - The device (DeviceService) parameter.timestamp - The timestamp (Object) parameter.control - The control (ControlService) parameter.code - The code (int) parameter.deviceChanged(DeviceService,Object,int,int),
measurementChanged(MeasurementService,Object,Object,Object)
public void deviceChanged(DeviceService deviceService,
java.lang.Object timestamp,
int newState,
int oldState)
org.eclipse.soda.dk.device.service.DeviceService
java.lang.Object
The new state of the DeviceService when the notification process started.
The old state of the DeviceService. The device service (DeviceService)
parameter. The timestamp (Object) parameter. The new
state (int) parameter. The old state (int)
parameter.
deviceChanged in interface DeviceListenerdeviceService - The device service (DeviceService) parameter.timestamp - The timestamp (Object) parameter.newState - The new state (int) parameter.oldState - The old state (int) parameter.controlChanged(DeviceService,Object,ControlService,int),
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 timestamp (Object) parameter.data - The data (Object) parameter.signalOccurred(SignalService,Object,Object)public void exit()
public java.lang.String formatData(java.lang.Object data)
Object)
parameter.
data - The data (Object) parameter.
String) value. The
data (Object) parameter.public AgentService getAgent()
AgentService) value.getDefaultAgent(),
setAgent(AgentService)public java.util.Dictionary getConfigurationInformation()
Dictionary)
value.getConfigurationInformation(String),
getDeviceConfigurationInformation(),
putConfigurationInformation(String,Object),
setConfigurationInformation(Dictionary),
setDeviceConfigurationInformation(Dictionary)public java.lang.Object getConfigurationInformation(java.lang.String propertyName)
String)
parameter.
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 AgentService getDefaultAgent()
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
AgentService) 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 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)
int)
parameter. The error (Throwable) parameter.
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 int getPriority()
int) value.setPriority(int)public long getReadTimeout()
long) value.setReadTimeout(long)public java.lang.String getResource(int resourceId)
int)
parameter.
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,
java.lang.Object newValue,
java.lang.Object oldValue)
MeasurementService)
parameter. The timestamp (Object) parameter. The new
value (Object) parameter. The old value (Object)
parameter.
measurementChanged in interface MeasurementListenersource - The source (MeasurementService) parameter.timestamp - The timestamp (Object) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.controlChanged(DeviceService,Object,ControlService,int),
deviceChanged(DeviceService,Object,int,int)
public void notificationReceived(java.lang.String externalKey,
java.lang.Object data)
String) parameter. The
data (Object) parameter.
notificationReceived in class NotificationClientexternalKey - The external key (String) parameter.data - The data (Object) parameter.
public void putConfigurationInformation(java.lang.String propertyName,
java.lang.Object value)
String)
parameter. The value (Object) parameter. The property
name (String) parameter. The value (Object)
parameter.
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[] args)
String[])
parameter. The args (String[]) parameter.
args - The args (String[]) parameter.run()public void runTests()
endTests(),
startTests()public void setActive(boolean active)
boolean) parameter.
The active (boolean) parameter.
active - The active (boolean) parameter.isActive()public void setAgent(AgentService agent)
AgentService)
parameter.
agent - The agent (AgentService) parameter.getAgent(),
getDefaultAgent()public void setConfigurationInformation(java.util.Dictionary configurationInformation)
Dictionary)
parameter. The configuration information (Dictionary)
parameter.
configurationInformation - The configuration information (Dictionary) parameter.getConfigurationInformation(),
getConfigurationInformation(String),
getDeviceConfigurationInformation(),
putConfigurationInformation(String,Object),
setDeviceConfigurationInformation(Dictionary)public void setConfigurationSave(boolean configurationSave)
boolean)
parameter. The configuration save (boolean) parameter.
configurationSave - The configuration save (boolean) parameter.deviceConfigurationSave(),
isConfigurationSave()public void setDevice(DeviceService device)
DeviceService)
parameter. The device (DeviceService) parameter.
device - The device (DeviceService) parameter.getDefaultDevice(),
getDevice()public void setDeviceConfigurationInformation(java.util.Dictionary deviceConfigurationInformation)
Dictionary) parameter. The device
configuration information (Dictionary) parameter.
deviceConfigurationInformation - The device configuration information (Dictionary) parameter.getDeviceConfigurationInformation()public void setPriority(int priority)
int) parameter.
The priority (int) parameter.
priority - The priority (int) parameter.getPriority()public void setReadTimeout(long readTimeout)
long)
parameter. The read timeout (long) parameter.
readTimeout - The read timeout (long) parameter.getReadTimeout()public void setTestCount(int testCount)
int)
parameter. The test count (int) parameter.
testCount - The test count (int) parameter.getTestCount()public void setTestDelay(long testDelay)
long)
parameter. The test delay (long) parameter.
testDelay - The test delay (long) parameter.getTestDelay()public void setTestExecute(boolean testExecute)
boolean)
parameter.
testExecute - The test execute (boolean) parameter.getTestExecute()public void setTestExecuteRead(boolean testExecuteRead)
boolean)
parameter.
testExecuteRead - The test execute read (boolean) parameter.getTestExecuteRead()public void setTestExecuteWrite(boolean testExecuteWrite)
boolean)
parameter.
testExecuteWrite - The test execute write (boolean) parameter.getTestExecuteWrite()public void setTestRead(boolean testRead)
boolean) parameter.
testRead - The test read (boolean) parameter.getTestRead()public void setTestTrigger(boolean testTrigger)
boolean)
parameter.
testTrigger - The test trigger (boolean) parameter.getTestTrigger()public void setThread(java.lang.Thread thread)
Thread) parameter. The
thread (Thread) parameter.
thread - The thread (Thread) parameter.getThread()public void setTotalTestTime(long totalTestTime)
long)
parameter. The total test time (long) parameter.
totalTestTime - The total test time (long) parameter.getTotalTestTime()public void setup()
public void signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
SignalService)
parameter. The timestamp (Object) parameter. The data (Object)
parameter.
signalOccurred in interface SignalListenersource - The source (SignalService) parameter.timestamp - The timestamp (Object) parameter.data - The data (Object) parameter.errorOccurred(Object,Object,Object)public void start()
public void startTests()
endTests(),
runTests()public void stop()
public void test()
public void testCommand(java.lang.String commandName)
String)
parameter. The command name (String) parameter.
commandName - The command name (String) parameter.public void testMeasurement(java.lang.String measurementName)
String) parameter. The measurement
name (String) parameter.
measurementName - The measurement name (String) parameter.public void testSignal(java.lang.String signalName)
String)
parameter. The signal name (String) parameter.
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()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||