|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectProfile
org.eclipse.soda.dk.rfid.write.profile.RfidWriteProfile
public abstract class RfidWriteProfile
The RFID Write Profile defined the common method of perform write operation against Radio Frequency Identification (RFID) tags across different RFID readers. We have tried to model some of this profile based the Low Level Reader Protocol (LLRP) write functions. The first set of controls define how the RFID Write Profile will report the tag write information. The next set of controls define how the Write Operations will be performed and how these Write Operations will be triggered. <p> NOTE: This is a very early definition of this profile and will change as we get important feedback from application providers and hardware vendors. </p> <p>RFID Write Profile Questions/Issues </p> <ul> <li>Currently, LLRP does not support auto increment of the Tag ID's being written. This profile currently does not support auto increment. Is this the correct decision for this profile? </li> <li>What other operations (like Kill Tag, Erase Tag) should be supported? </li> <li>What is the best way to handle passwords? </li> <li>Can this profile be made simpler? Can any of these controls be deleted? </li> </ul> . The RfidWriteProfile class implements the RfidWriteProfileService and provides the controls for the profile.
The list of exported services:
RfidWriteProfileService,
See the following specification(s) for more details:
Title:
EPCglobal Low Level Reader Protocol (LLRP)
URL:
http://www.epcglobalinc.org/standards/llrp
Version:
1.0.1
Date:
August 13, 2007
Vendor:
EPCglobal
Comment:
Ratified
Title:
EPCglobal Application Level Events (ALE) Specification
URL:
http://www.epcglobalinc.org/standards/ale/
Version:
1.1
Date:
February 27, 2008
Vendor:
EPCglobal
Comment:
Ratified
Title:
EPCglobal Low Level Reader Protocol (LLRP)
URL:
http://www.epcglobalinc.org/standards/llrp
Version:
1.0.1
Date:
August 13, 2007
Vendor:
EPCglobal
Comment:
Ratified
Title:
EPCglobal Application Level Events (ALE) Specification
URL:
http://www.epcglobalinc.org/standards/ale/
Version:
1.1
Date:
February 27, 2008
Vendor:
EPCglobal
Comment:
Ratified
| Field Summary | |
|---|---|
protected InterestMasks |
aggregationInterest
Define the aggregation interest (InterestMasks) field. |
protected MethodMeasurement |
antennaConfiguration
The "AntennaConfiguration" is the map containing the antenna configuration. |
static java.lang.String |
CLASS_NAME
Defines the full class name. |
static java.lang.String |
CONTROL_PROFILE_PREFIX
Define the control profile prefix configuration key. |
protected java.lang.String |
controlProfileServiceBitsExternalKey
Define control profile service bits external key. |
protected java.lang.String |
controlProfileServiceBitsGetExternalKey
Define control profile service bits get external key. |
protected java.lang.String |
controlProfileServiceLongsExternalKey
Define control profile service longs external key. |
protected java.lang.String |
controlProfileServiceLongsGetExternalKey
Define control profile service longs get external key. |
protected MethodMeasurement |
dataExtensions
The DataExtensions measurement is a map of metadata to be associated with tag data. |
protected MethodMeasurement |
dataWriteExtensions
The "DataWriteExtensions" measurement is a map of meta data to be associated with tag data. |
static java.lang.String |
GPIO_PROFILE_PREFIX
Define the GPIO profile prefix configuration key. |
protected java.lang.String |
gpioProfileServiceAnalogInputExternalKey
Define GPIO profile service analog input external key. |
protected java.lang.String |
gpioProfileServiceAnalogInputGetExternalKey
Define GPIO profile service analog input get external key. |
protected java.lang.String |
gpioProfileServiceInputExternalKey
Define GPIO profile service input external key. |
protected java.lang.String |
gpioProfileServiceInputGetExternalKey
Define GPIO profile service input get external key. |
protected MethodMeasurement |
tagAggregationWriteMaskSetting
The "TagAggregationWriteMaskSetting" specifies the definition of tags that should be published on the TagWriteAggregationReport signal. |
protected InterestMasks |
tagInterest
Define the tag interest (InterestMasks) field. |
protected MethodMeasurement |
tagWriteAggregating
The "TagWriteAggregating" measurement specifies the state of aggregating behavior. |
protected MethodMeasurement |
tagWriteAggregatingExpression
The "TagWriteAggregatingExpression" is an Lightweight Directory Access Protocol (LDAP) expression to trigger the behavior of aggregating based on input pin and control values. |
protected Signal |
tagWriteAggregationReport
The "TagWriteAggregationReport" is a signal containing a collection of tag write information in a map structure. |
protected MethodMeasurement |
tagWriteAntennaReporting
The "TagWriteAntennaReporting" measurement specifies the state of tag antenna reporting. |
protected MethodMeasurement |
tagWriteMaskSetting
The "TagWriteMaskSetting" specifies the definition of tags that should be published on the TagWriteReport signal. |
protected Signal |
tagWriteReport
The "TagWriteReport" is a signal containing tag write information in a map structure. |
protected MethodMeasurement |
writeOperations
The "WriteOperations" specifies the definition of write operations block against the tag(s). |
protected MethodCommand |
writeOperationsExecuteRequest
The "WriteOperationsExecuteRequest" command requests that that tag write operations be executed. |
protected MethodMeasurement |
writeOperationsExecuteStatus
The "WriteOperationsExecuteStatus" specifies if the current WriteOperations are being executed. |
protected MethodMeasurement |
writeOperationsExpression
The "WriteOperationsExpression" is an LDAP expression to trigger the state of tag writing based on input pin and control values. |
protected MethodCommand |
writeOperationsStopRequest
The "WriteOperationsStopRequest" command requests that that tag write operations be stopped. |
| Constructor Summary | |
|---|---|
RfidWriteProfile()
Constructs a new instance of the RfidWriteProfile class. |
|
| Method Summary | |
|---|---|
void |
activate()
Activate. |
protected void |
addTagToCache(java.lang.String key,
java.util.Map reads,
java.util.Map cache)
Add tag to cache with the specified key, reads and cache parameters. |
protected void |
applyDataExtensions(java.util.Map rfidData)
Apply data extensions with the specified RFID data parameter. |
protected java.util.Map |
buildOuterTagMessage(java.util.Map tags)
Build outer tag message with the specified tags parameter and return the Map result. |
protected java.util.Map |
buildTagMessage(java.lang.String key,
java.util.Map reads)
Build tag message with the specified key and reads parameters and return the Map result. |
protected void |
consumeRequests()
Consume requests. |
protected Filter |
createLdapFilter(java.lang.String filterString)
Create ldap filter with the specified filter string parameter and return the Filter result. |
void |
deactivate()
Deactivate. |
protected abstract void |
endOperations()
End operations. |
protected void |
evaluateTagAggregatingLdapFilter()
Evaluate tag aggregating ldap filter. |
protected void |
evaluateWriteOperationLdapFilter()
Evaluate write operation ldap filter. |
protected abstract boolean |
executeBlockErase(java.lang.String[] op_parameters)
Execute block erase with the specified opparameters parameter and return the boolean result. |
protected abstract boolean |
executeBlockWrite(java.lang.String[] op_parameters)
Execute block write with the specified opparameters parameter and return the boolean result. |
protected abstract boolean |
executeFilter(java.lang.String[] op_parameters)
Execute filter with the specified opparameters parameter and return the boolean result. |
protected abstract boolean |
executeIncrementWrite(java.lang.String[] op_parameters)
Execute increment write with the specified opparameters parameter and return the boolean result. |
protected abstract boolean |
executeKill(java.lang.String[] op_parameters)
Execute kill with the specified opparameters parameter and return the boolean result. |
protected abstract boolean |
executeLock(java.lang.String[] op_parameters)
Execute lock with the specified opparameters parameter and return the boolean result. |
protected abstract boolean |
executeRead(java.lang.String[] op_parameters)
Execute read with the specified opparameters parameter and return the boolean result. |
protected abstract void |
executeStop()
Evaluate tag reading ldap filter. |
protected abstract boolean |
executeWrite(java.lang.String[] op_parameters)
Execute write with the specified opparameters parameter and return the void result. |
protected void |
executeWriteOperations()
Execute write operations. |
void |
flushAggregatorCache()
Flush aggregator cache. |
void |
flushTagCache()
Flush tag cache. |
MeasurementService |
getAntennaConfiguration()
The "AntennaConfiguration" is the map containing the antenna configuration. |
int |
getControlCapacity()
Gets the control capacity (int) value. |
java.lang.String |
getControlProfilePrefix()
Get the control profile prefix value. |
MeasurementService |
getDataWriteExtensions()
The "DataWriteExtensions" measurement is a map of meta data to be associated with tag data. |
DeviceService |
getDefaultDevice()
Gets the default device (DeviceService) value. |
java.lang.String |
getDefaultKey()
Gets the default key (String) value. |
boolean |
getExecuteOnOperationChange()
executeOnOperationChange is a configuration parameter to specify whether to execute once when the writeOperations string is set or changed. |
java.lang.String |
getGpioProfilePrefix()
Get the GPIO profile prefix value. |
int |
getMessageCapacity()
Gets the message capacity (int) value. |
java.lang.String |
getReaderId()
Gets the reader ID (String) value. |
MeasurementService |
getTagAggregationWriteMaskSetting()
The "TagAggregationWriteMaskSetting" specifies the definition of tags that should be published on the TagWriteAggregationReport signal. |
MeasurementService |
getTagWriteAggregating()
The "TagWriteAggregating" measurement specifies the state of aggregating behavior. |
MeasurementService |
getTagWriteAggregatingExpression()
The "TagWriteAggregatingExpression" is an Lightweight Directory Access Protocol (LDAP) expression to trigger the behavior of aggregating based on input pin and control values. |
SignalService |
getTagWriteAggregationReport()
The "TagWriteAggregationReport" is a signal containing a collection of tag write information in a map structure. |
MeasurementService |
getTagWriteAntennaReporting()
The "TagWriteAntennaReporting" measurement specifies the state of tag antenna reporting. |
MeasurementService |
getTagWriteMaskSetting()
The "TagWriteMaskSetting" specifies the definition of tags that should be published on the TagWriteReport signal. |
SignalService |
getTagWriteReport()
The "TagWriteReport" is a signal containing tag write information in a map structure. |
MeasurementService |
getWriteOperations()
The "WriteOperations" specifies the definition of write operations block against the tag(s). |
CommandService |
getWriteOperationsExecuteRequest()
The "WriteOperationsExecuteRequest" command requests that that tag write operations be executed. |
MeasurementService |
getWriteOperationsExecuteStatus()
The "WriteOperationsExecuteStatus" specifies if the current WriteOperations are being executed. |
MeasurementService |
getWriteOperationsExpression()
The "WriteOperationsExpression" is an LDAP expression to trigger the state of tag writing based on input pin and control values. |
CommandService |
getWriteOperationsStopRequest()
The "WriteOperationsStopRequest" command requests that that tag write operations be stopped. |
protected void |
handleControlProfileServiceBits(java.lang.String externalKey,
java.util.Dictionary data)
Handle control profile service bits with the specified external key and data parameters. |
protected void |
handleControlProfileServiceLongs(java.lang.String externalKey,
java.util.Dictionary data)
Handle control profile service longs with the specified external key and data parameters. |
protected boolean |
handleGetWriteOperationsExecuteStatus()
Handle get write operations execute status and return the boolean result. |
protected void |
handleGpioProfileServiceAnalogInput(java.lang.String externalKey,
java.util.Dictionary data)
Handle gpio profile service analog input with the specified external key and data parameters. |
protected void |
handleGpioProfileServiceInput(java.lang.String externalKey,
java.util.Dictionary data)
Handle GPIO profile service input with the specified external key and data parameters. |
java.lang.Object |
handleMethodAntennaConfiguration(int code,
Measurement measurement,
java.lang.Object data)
Handle method antenna configuration with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodDataWriteExtensions(int code,
Measurement measurement,
java.lang.Object data)
Handle method data write extensions with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagAggregationWriteMaskSetting(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag aggregation write mask setting with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagWriteAggregating(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag write aggregating with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagWriteAggregatingExpression(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag write aggregating expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagWriteAntennaReporting(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag write antenna reporting with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagWriteMaskSetting(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag write mask setting with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodWriteOperations(int code,
Measurement measurement,
java.lang.Object data)
Handle method write operations with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodWriteOperationsExecuteRequest(int code,
Command command,
java.lang.Object data)
Handle method write operations execute request with the specified code, command and data parameters and return the Object result. |
java.lang.Object |
handleMethodWriteOperationsExecuteStatus(int code,
Measurement measurement,
java.lang.Object data)
Handle method write operations execute status with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodWriteOperationsExpression(int code,
Measurement measurement,
java.lang.Object data)
Handle method write operations expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodWriteOperationsStopRequest(int code,
Command command,
java.lang.Object data)
Handle method write operations stop request with the specified code, command and data parameters and return the Object result. |
protected java.lang.Object |
handleSetAntennaConfiguration(Measurement measurement,
java.lang.Object data)
Handle set antenna configuration with the specified measurement and data parameters and return the Object result. |
protected void |
handleSetTagAggregationWriteMaskSetting(Measurement measurement,
java.lang.Object data)
Handle set tag aggregation write mask setting with the specified measurement and data parameters. |
protected void |
handleSetTagWriteAggregatingExpression(Measurement measurement,
java.lang.Object data)
Handle set tag aggregating expression with the specified measurement and data parameters. |
protected void |
handleSetTagWriteMaskSetting(Measurement measurement,
java.lang.Object data)
Handle set tag write mask setting with the specified measurement and data parameters. |
protected void |
handleSetWriteOperationExpression(Measurement measurement,
java.lang.Object data)
Handle set write operation expression with the specified measurement and data parameters. |
protected java.lang.Object |
handleSetWriteOperations(Measurement measurement,
java.lang.Object data)
Handle set write operations with the specified measurement and data parameters and return the Object result. |
protected void |
handleSetWriteOperationsExecuteStatus(java.lang.Boolean status)
Handle set write operations execute status with the specified status parameter. |
protected void |
handleTagWriteAggregating(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
Handle tag write aggregating with the specified source, time stamp, new value and old value parameters. |
protected void |
handleWriteOperationsError(java.lang.String errorMsg)
Handle write operations error with the specified error msg parameter. |
protected void |
handleWriteOperationsStopRequest()
Handle write operations stop request. |
protected void |
improveReportMap(java.util.Map reads,
java.lang.Object timestamp)
Improve reads map with the specified reads and timestamp parameters. |
boolean |
isDeviceNeeded()
Is device needed. |
protected boolean |
isOperationsRunning()
Gets the operations running (boolean) value. |
boolean |
isTagWriteAntennaReporting()
Gets the tag write antenna reporting (boolean) value. |
static boolean |
isValidTagId(java.lang.String tagId)
Is valid tag id with the specified tag id parameter and return the boolean result. |
void |
measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
Measurement changed. |
void |
mergeAntennaInfo(java.util.Map cacheReadData,
java.util.Map reads)
Merge antenna info with the specified cache read data and reads parameters. |
protected java.util.Map |
mergeMapOverMap(java.util.Map additionalValues,
java.util.Map existingValues)
Merge map over map with the specified additional values and existing values parameters and return the Map result. |
void |
notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
Notification received. |
void |
notifyTagAggregation()
Notify tag aggregation. |
void |
notifyTagReport(java.lang.String key,
java.lang.String operationId,
java.util.Map reads)
Notify tag report with the specified key, operation id and reads parameters. |
void |
notifyTagReport(java.lang.String key,
java.lang.String operationId,
java.util.Map reads,
java.lang.Object timestamp)
Notify tag report with the specified key, operation id, reads and timestamp parameters. |
protected void |
operationsInterrupted(java.lang.String errorMsg)
Operations interrupted with the specified error msg parameter. |
static java.lang.String[] |
parseDelimitedByToken(java.lang.String target,
java.lang.String delimiter)
Parse delimited by token with the specified target and delimiter parameters and return the String[] result. |
static byte[] |
parseHexSpaceDelimited(java.lang.String spaceDelimitedHex)
Parse hex space delimited with the specified space delimited hex parameter and return the byte[] result. |
static InterestMasks |
parseInterestMasks(java.lang.String targetTagConfig)
Parse interest masks with the specified target tag configuration parameter and return the InterestMasks result. |
void |
setExecuteOnOperationChange(boolean executeOnOperationChange)
executeOnOperationChange is a configuration parameter to specify whether to execute once when the writeOperations string is set or changed. |
protected void |
setOperationsStatusFinished()
Operations finished. |
protected void |
setOperationsStatusStarted()
Operations started. |
protected void |
setTagWriteAggregatingLdapFilter(Filter tagAggregatingLdapFilter)
Sets the tag aggregating ldap filter value. |
void |
setup()
|
void |
setupNotification()
Setup notification. |
protected void |
setWriteOperationLdapFilter(Filter writeOperationLdapFilter)
Sets the write operation ldap filter value. |
protected abstract boolean |
startOperations()
Start operations. |
static byte[] |
toBytes(java.lang.String string)
To bytes with the specified string parameter and return the byte[] result. |
protected void |
updateTagInCache(java.lang.String key,
java.lang.String operationId,
java.util.Map reads,
java.util.Map cache,
java.lang.Object timestamp)
Update tag in cache with the specified key, operation ID, reads, cache and time stamp parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
public static final java.lang.String CONTROL_PROFILE_PREFIX
public static final java.lang.String GPIO_PROFILE_PREFIX
protected java.lang.String gpioProfileServiceInputExternalKey
protected java.lang.String gpioProfileServiceInputGetExternalKey
protected java.lang.String gpioProfileServiceAnalogInputExternalKey
protected java.lang.String gpioProfileServiceAnalogInputGetExternalKey
protected java.lang.String controlProfileServiceBitsExternalKey
protected java.lang.String controlProfileServiceBitsGetExternalKey
protected java.lang.String controlProfileServiceLongsExternalKey
protected java.lang.String controlProfileServiceLongsGetExternalKey
protected final MethodCommand writeOperationsExecuteRequest
protected final MethodCommand writeOperationsStopRequest
protected final MethodMeasurement antennaConfiguration
protected final MethodMeasurement dataWriteExtensions
protected final MethodMeasurement tagWriteMaskSetting
protected final MethodMeasurement tagAggregationWriteMaskSetting
protected final MethodMeasurement tagWriteAggregatingExpression
protected final MethodMeasurement tagWriteAggregating
protected final MethodMeasurement writeOperations
protected final MethodMeasurement writeOperationsExpression
protected final MethodMeasurement writeOperationsExecuteStatus
protected final MethodMeasurement tagWriteAntennaReporting
protected final Signal tagWriteReport
protected final Signal tagWriteAggregationReport
protected InterestMasks tagInterest
protected InterestMasks aggregationInterest
protected final MethodMeasurement dataExtensions
| Constructor Detail |
|---|
public RfidWriteProfile()
| Method Detail |
|---|
public static boolean isValidTagId(java.lang.String tagId)
tagId - The tag ID (String) parameter.
boolean) value.
public static java.lang.String[] parseDelimitedByToken(java.lang.String target,
java.lang.String delimiter)
target - The target (String) parameter.delimiter - The delimiter (String) parameter.
String[]) value. The target (String) parameter. The delimiter (String) parameter.public static byte[] parseHexSpaceDelimited(java.lang.String spaceDelimitedHex)
spaceDelimitedHex - The space delimited hex (String) parameter.
byte[]) value.public static InterestMasks parseInterestMasks(java.lang.String targetTagConfig)
targetTagConfig - The target tag configuration (String) parameter.
InterestMasks) value. The target tag config (String) parameter.
public static byte[] toBytes(java.lang.String string)
throws java.lang.RuntimeException
string - The string (String) parameter.
byte[]) value. Runtime Exception.
java.lang.RuntimeException - Runtime Exception.public void activate()
protected void addTagToCache(java.lang.String key,
java.util.Map reads,
java.util.Map cache)
key - The key (String) parameter.reads - The reads (Map) parameter.cache - The cache (Map) parameter.protected void applyDataExtensions(java.util.Map rfidData)
rfidData - The RFID data (Map) parameter.protected java.util.Map buildOuterTagMessage(java.util.Map tags)
tags - The tags (Map) parameter.
Map) value.
protected java.util.Map buildTagMessage(java.lang.String key,
java.util.Map reads)
key - The key (String) parameter.reads - The reads (Map) parameter.
Map) value.buildOuterTagMessage(Map)
protected void consumeRequests()
throws java.lang.InterruptedException
java.lang.InterruptedException - Interrupted Exception.
protected Filter createLdapFilter(java.lang.String filterString)
throws InvalidSyntaxException
filterString - The filter string (String) parameter.
Filter) value. Invalid Syntax Exception.
InvalidSyntaxException - Invalid Syntax Exception.evaluateTagAggregatingLdapFilter(),
evaluateWriteOperationLdapFilter(),
setTagWriteAggregatingLdapFilter(Filter),
setWriteOperationLdapFilter(Filter)public void deactivate()
protected abstract void endOperations()
executeWriteOperations(),
getWriteOperations(),
handleMethodWriteOperations(int,Measurement,Object),
handleSetWriteOperations(Measurement,Object),
startOperations()protected void evaluateTagAggregatingLdapFilter()
protected void evaluateWriteOperationLdapFilter()
setWriteOperationLdapFilter(Filter)protected abstract boolean executeBlockErase(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected abstract boolean executeBlockWrite(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected abstract boolean executeFilter(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.createLdapFilter(String),
evaluateTagAggregatingLdapFilter(),
evaluateWriteOperationLdapFilter(),
setTagWriteAggregatingLdapFilter(Filter),
setWriteOperationLdapFilter(Filter)protected abstract boolean executeIncrementWrite(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected abstract boolean executeKill(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected abstract boolean executeLock(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected abstract boolean executeRead(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected abstract void executeStop()
protected abstract boolean executeWrite(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.executeBlockWrite(String[]),
executeIncrementWrite(String[])protected void executeWriteOperations()
getWriteOperations(),
handleMethodWriteOperations(int,Measurement,Object),
handleSetWriteOperations(Measurement,Object)public void flushAggregatorCache()
public void flushTagCache()
public MeasurementService getAntennaConfiguration()
handleMethodAntennaConfiguration(int,Measurement,Object),
handleSetAntennaConfiguration(Measurement,Object)public int getControlCapacity()
public java.lang.String getControlProfilePrefix()
public MeasurementService getDataWriteExtensions()
handleMethodDataWriteExtensions(int,Measurement,Object)public DeviceService getDefaultDevice()
public java.lang.String getDefaultKey()
public boolean getExecuteOnOperationChange()
setExecuteOnOperationChange(boolean)public java.lang.String getGpioProfilePrefix()
public int getMessageCapacity()
public java.lang.String getReaderId()
String) value.public MeasurementService getTagAggregationWriteMaskSetting()
handleMethodTagAggregationWriteMaskSetting(int,Measurement,Object),
handleSetTagAggregationWriteMaskSetting(Measurement,Object)public MeasurementService getTagWriteAggregating()
handleMethodTagWriteAggregating(int,Measurement,Object),
handleTagWriteAggregating(MeasurementService,Object,Object,Object)public MeasurementService getTagWriteAggregatingExpression()
handleMethodTagWriteAggregatingExpression(int,Measurement,Object),
handleSetTagWriteAggregatingExpression(Measurement,Object)public SignalService getTagWriteAggregationReport()
public MeasurementService getTagWriteAntennaReporting()
handleMethodTagWriteAntennaReporting(int,Measurement,Object),
isTagWriteAntennaReporting()public MeasurementService getTagWriteMaskSetting()
handleMethodTagWriteMaskSetting(int,Measurement,Object),
handleSetTagWriteMaskSetting(Measurement,Object)public SignalService getTagWriteReport()
public MeasurementService getWriteOperations()
executeWriteOperations(),
handleMethodWriteOperations(int,Measurement,Object),
handleSetWriteOperations(Measurement,Object)public CommandService getWriteOperationsExecuteRequest()
handleMethodWriteOperationsExecuteRequest(int,Command,Object)public MeasurementService getWriteOperationsExecuteStatus()
handleGetWriteOperationsExecuteStatus(),
handleMethodWriteOperationsExecuteStatus(int,Measurement,Object),
handleSetWriteOperationsExecuteStatus(Boolean)public MeasurementService getWriteOperationsExpression()
handleMethodWriteOperationsExpression(int,Measurement,Object)public CommandService getWriteOperationsStopRequest()
handleMethodWriteOperationsStopRequest(int,Command,Object),
handleWriteOperationsStopRequest()
protected void handleControlProfileServiceBits(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
protected void handleControlProfileServiceLongs(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.protected boolean handleGetWriteOperationsExecuteStatus()
boolean) value.
protected void handleGpioProfileServiceAnalogInput(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
protected void handleGpioProfileServiceInput(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
public java.lang.Object handleMethodAntennaConfiguration(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 java.lang.Object handleMethodDataWriteExtensions(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 java.lang.Object handleMethodTagAggregationWriteMaskSetting(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 java.lang.Object handleMethodTagWriteAggregating(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 java.lang.Object handleMethodTagWriteAggregatingExpression(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 java.lang.Object handleMethodTagWriteAntennaReporting(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 java.lang.Object handleMethodTagWriteMaskSetting(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 java.lang.Object handleMethodWriteOperations(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 java.lang.Object handleMethodWriteOperationsExecuteRequest(int code,
Command command,
java.lang.Object data)
code - The code (int) parameter.command - The command (Command) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodWriteOperationsExecuteStatus(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 java.lang.Object handleMethodWriteOperationsExpression(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 java.lang.Object handleMethodWriteOperationsStopRequest(int code,
Command command,
java.lang.Object data)
code - The code (int) parameter.command - The command (Command) parameter.data - The data (Object) parameter.
Object) value.
protected java.lang.Object handleSetAntennaConfiguration(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
protected void handleSetTagAggregationWriteMaskSetting(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetTagWriteAggregatingExpression(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetTagWriteMaskSetting(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetWriteOperationExpression(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected java.lang.Object handleSetWriteOperations(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.protected void handleSetWriteOperationsExecuteStatus(java.lang.Boolean status)
status - The status (Boolean) parameter.
protected void handleTagWriteAggregating(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - The source (MeasurementService) parameter.timestamp - The time stamp (Object) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.getTagWriteAggregating(),
handleMethodTagWriteAggregating(int,Measurement,Object)protected void handleWriteOperationsError(java.lang.String errorMsg)
errorMsg - The error msg (String) parameter.protected void handleWriteOperationsStopRequest()
getWriteOperationsStopRequest(),
handleMethodWriteOperationsStopRequest(int,Command,Object)
protected void improveReportMap(java.util.Map reads,
java.lang.Object timestamp)
reads - The reads (Map) parameter.timestamp - The time stamp (Object) parameter.public boolean isDeviceNeeded()
protected boolean isOperationsRunning()
boolean) value.public boolean isTagWriteAntennaReporting()
boolean) value.getTagWriteAntennaReporting(),
handleMethodTagWriteAntennaReporting(int,Measurement,Object)
public void measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - source.timestamp - time stamp.newValue - new value.oldValue - old value.
public void mergeAntennaInfo(java.util.Map cacheReadData,
java.util.Map reads)
cacheReadData - The cache read data (Map) parameter.reads - The reads (Map) parameter.
protected java.util.Map mergeMapOverMap(java.util.Map additionalValues,
java.util.Map existingValues)
additionalValues - The additional values (Map) parameter.existingValues - The existing values (Map) parameter.
Map) value.
public void notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - external key.data - data.public void notifyTagAggregation()
public void notifyTagReport(java.lang.String key,
java.lang.String operationId,
java.util.Map reads)
key - The key (String) parameter.operationId - The operation ID (String) parameter.reads - The reads (Map) parameter.notifyTagReport(String,String,Map,Object)
public void notifyTagReport(java.lang.String key,
java.lang.String operationId,
java.util.Map reads,
java.lang.Object timestamp)
key - The key (String) parameter.operationId - The operation ID (String) parameter.reads - The reads (Map) parameter.timestamp - The time stamp (Object) parameter.notifyTagReport(String,String,Map)protected void operationsInterrupted(java.lang.String errorMsg)
errorMsg - The error msg (String) parameter.public void setExecuteOnOperationChange(boolean executeOnOperationChange)
executeOnOperationChange - The execute on operation change custom parameter.getExecuteOnOperationChange()protected void setOperationsStatusFinished()
protected void setOperationsStatusStarted()
protected void setTagWriteAggregatingLdapFilter(Filter tagAggregatingLdapFilter)
tagAggregatingLdapFilter - The tag aggregating ldap filter (Filter) parameter.public void setup()
org.eclipse.soda.dk.device.Container#setup()public void setupNotification()
protected void setWriteOperationLdapFilter(Filter writeOperationLdapFilter)
writeOperationLdapFilter - The write operation ldap filter (Filter) parameter.evaluateWriteOperationLdapFilter()protected abstract boolean startOperations()
boolean) value.endOperations(),
executeWriteOperations(),
getWriteOperations(),
handleMethodWriteOperations(int,Measurement,Object),
handleSetWriteOperations(Measurement,Object)
protected void updateTagInCache(java.lang.String key,
java.lang.String operationId,
java.util.Map reads,
java.util.Map cache,
java.lang.Object timestamp)
key - The key (String) parameter.operationId - The operation ID (String) parameter.reads - The reads (Map) parameter.cache - The cache (Map) parameter.timestamp - The time stamp (Object) parameter.
|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||