|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.connecterra.ale.reader.DeviceUnitRequest
public class DeviceUnitRequest
One application request, in a form easily used by a device driver.
Each DeviceUnitRequest corresponds roughly to one ECSpec
or one AccessSpec
.
The request indicates that driver must inventory the Set of DeviceUnits
, and for each tag visible, perform the
ordered List of DeviceOpSpecs
. It must then
construct a DeviceTagReport
(usually contained in a AbstractPhysicalDevice.TagData
for each tag seen and processed.
See AbstractPhysicalDevice.Requests
, AbstractPhysicalDevice.addTagData(com.connecterra.ale.reader.AbstractPhysicalDevice.TagData)
(for asynchronous drivers), and
AbstractDispatchingPollingPhysicalDevice.inventoryTagsInField(java.util.Set)
(for
polling and autonomous drivers) for more details.
Method Summary | |
---|---|
boolean |
equals(Object other)
|
List |
getDeviceOpSpecs()
|
Set |
getDeviceUnits()
|
int |
hashCode()
|
boolean |
isRestrictSingleTag()
If true, then the DeviceUnitRequest should fail if
more than one tag would be operated on. |
boolean |
isStopOnError()
If true, then the DeviceUnitRequest should stop
immediately if one of the DeviceOpSpecs fails. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public List getDeviceOpSpecs()
DeviceOpSpec
s which describes
the operations to be executed on the visible tags.public Set getDeviceUnits()
DeviceUnit
whose tags should be
inventories and operated on.public boolean isRestrictSingleTag()
DeviceUnitRequest
should fail if
more than one tag would be operated on.
boolean
valuepublic boolean isStopOnError()
DeviceUnitRequest
should stop
immediately if one of the DeviceOpSpecs fails. Otherwise, all
the DeviceOpSpecs should be executed.
boolean
valuepublic int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |