|
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.device.Control
org.eclipse.soda.dk.device.Container
org.eclipse.soda.dk.device.Device
org.eclipse.soda.dk.device.TransportDevice
org.eclipse.soda.dk.device.QueueDevice
public abstract class QueueDevice
The QueueDevice class implements the DeviceService interface.
Container,
Control,
Device,
Queue,
TransportDevice,
ControlService,
ErrorListener,
MessageHandler,
Runnable,
Thread,
TransportListener| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.device.Device |
|---|
POLL_COMMAND_NAME, START_COMMAND_NAME, STARTED_MASK, STOP_COMMAND_NAME |
| Fields inherited from class org.eclipse.soda.dk.device.Control |
|---|
EXCEPTION_READ_FAILED_RESOURCE, SETVALUEEXCEPTION_RESOURCE |
| 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 |
| Constructor Summary | |
|---|---|
QueueDevice()
Constructs an BaseQueueDevice object. |
|
| Method Summary | |
|---|---|
Queue |
getReceivedQueue()
Gets the Queue receivedQueue property value. |
void |
messageReceived(TransportService transportService,
java.lang.Object timestamp,
MessageService message)
This API will be called each time the TransportService receives a valid message. |
void |
run()
Perform the run action method. |
void |
send(MessageService message)
Perform the send action method. |
void |
start()
Perform the start action method. |
void |
stop()
Perform the stop action method. |
| Methods inherited from class org.eclipse.soda.dk.device.TransportDevice |
|---|
errorOccurred, exit, getDefaultTransport, getInterest, getMessageListeners, getTransport, load, register, registerMessageHandler, registerMessageHandler, setState, setTransport, setup, transportChanged, unregister |
| Methods inherited from class org.eclipse.soda.dk.device.Device |
|---|
addDeviceListener, controlAdded, controlRemoved, finalize, fireContainerChanged, fireErrorOccurred, getCapabilities, getConfiguration, getDefaultKey, getDeviceListener, getMessageCapacity, getMessageKey, getPriority, getReadTimeout, getStatus, getThread, hasListeners, isAutoStart, isBlockProcessing, isEvenProcessing, isRunning, isStarted, isThreadNeeded, put, remove, removeDeviceListener, restart, setDeviceListener, setReadTimeout, setRunning, setStarted, setThread, startup |
| Methods inherited from class org.eclipse.soda.dk.device.Control |
|---|
equalsValue, getCodeKey, getKey, getQualifiedKey, getResource, setKey, setQualifiedKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.device.service.DeviceService |
|---|
elements, get, getCommand, getConfigurationInformation, getMeasurement, getNotificationService, getSignal, getState, setConfigurationInformation, setNotificationService |
| Methods inherited from interface org.eclipse.soda.dk.device.service.ControlService |
|---|
getKey |
| Constructor Detail |
|---|
public QueueDevice()
BaseQueueDevice object.
| Method Detail |
|---|
public Queue getReceivedQueue()
Queue receivedQueue property value.
Queue) value.
public void messageReceived(TransportService transportService,
java.lang.Object timestamp,
MessageService message)
messageReceived in interface MessageListenermessageReceived in class TransportDevicetransportService - The transport that received the message.timestamp - The timestamp when the message was detected.message - The message received.public void run()
run in interface java.lang.Runnablerun in class DeviceRunnable.run()public void send(MessageService message)
send in interface DeviceServicesend in class TransportDevicemessage - org.eclipse.soda.dk.message.service.MessageServiceDeviceService.send(org.eclipse.soda.dk.message.service.MessageService)public void start()
start in interface DeviceServicestart in class TransportDeviceDeviceService.start()public void stop()
stop in interface DeviceServicestop in class TransportDeviceDeviceService.stop()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||