|
2008-02-07 1.1.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 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 simplier? 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,
org.eclipse.soda.dk.profile.service.ProfileService| 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 metadata 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 LDAP expression to trigger the behavior of aggregating based on input pin and control values. |
protected Signal |
tagWriteAggregationReport
TagWriteAggregationReport is a signal containing a collection of tag write information in a map structure. |
protected MethodMeasurement |
tagWriteMaskSetting
The TagWriteMaskSetting specifies the definition of tags that should be published on the TagWriteReport signal. |
protected Signal |
tagWriteReport
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 | |
|---|---|
protected |
RfidWriteProfile()
Constructs a new instance of the RfidWriteProfile class. |
| Method Summary | |
|---|---|
protected void |
applyDataExtensions(java.util.Map rfidData)
|
protected java.util.Map |
buildOuterTagMessage(java.util.Map tags)
|
protected java.util.Map |
buildTagMessage(java.lang.String key,
java.util.Map reads)
|
protected Filter |
createLdapFilter(java.lang.String filterString)
|
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_params)
Execute block erase with the specified opparams parameter and return the boolean result. |
protected abstract boolean |
executeBlockWrite(java.lang.String[] op_params)
Execute block write with the specified opparams parameter and return the boolean result. |
protected abstract boolean |
executeFilter(java.lang.String[] op_params)
Execute filter with the specified opparams parameter and return the boolean result. |
protected abstract boolean |
executeIncrementWrite(java.lang.String[] op_params)
Execute increment write with the specified opparams parameter and return the boolean result. |
protected abstract boolean |
executeKill(java.lang.String[] op_params)
Execute kill with the specified opparams parameter and return the boolean result. |
protected abstract boolean |
executeLock(java.lang.String[] op_params)
Execute lock with the specified opparams parameter and return the boolean result. |
protected abstract boolean |
executeRead(java.lang.String[] op_params)
Execute read with the specified opparams parameter and return the boolean result. |
protected abstract void |
executeStop()
Evaluate tag reading ldap filter. |
protected abstract boolean |
executeWrite(java.lang.String[] op_params)
Execute write with the specified opparams 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. |
java.lang.String |
getControlProfilePrefix()
Get the control profile prefix value. |
MeasurementService |
getDataWriteExtensions()
The DataWriteExtensions measurement is a map of metadata to be associated with tag data. |
DeviceService |
getDefaultDevice()
Gets the default DeviceService. |
java.lang.String |
getDefaultKey()
Gets the default key of the profile. |
java.lang.String |
getGpioProfilePrefix()
Get the gpio profile prefix value. |
int |
getMessageCapacity()
Gets the message capacity. |
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 LDAP expression to trigger the behavior of aggregating based on input pin and control values. |
SignalService |
getTagWriteAggregationReport()
TagWriteAggregationReport is a signal containing a collection of tag write information in a map structure. |
MeasurementService |
getTagWriteMaskSetting()
The TagWriteMaskSetting specifies the definition of tags that should be published on the TagWriteReport signal. |
SignalService |
getTagWriteReport()
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)
|
protected void |
handleControlProfileServiceLongs(java.lang.String externalKey,
java.util.Dictionary data)
|
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)
|
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 |
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)
|
protected void |
handleWriteOperationsStopRequest()
Handle write operations stop request. |
boolean |
isDeviceNeeded()
Is device needed. |
protected boolean |
isOperationsRunning()
Gets the operations running (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. |
protected java.util.Map |
mergeMapOverMap(java.util.Map additionalValues,
java.util.Map existingValues)
|
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. |
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)
|
static byte[] |
parseHexSpaceDelimited(java.lang.String spaceDelimitedHex)
|
static InterestMasks |
parseInterestMasks(java.lang.String targetTagConfig)
|
protected void |
setOperationsStatusFinished()
Operations finished. |
protected void |
setOperationsStatusStarted()
Operations started. |
protected void |
setTagWriteAggregatingLdapFilter(Filter tagAggregatingLdapFilter)
Sets the tag aggregating ldap filter value. |
void |
setupNotification()
Setup notification. |
protected void |
setWriteOperationLdapFilter(Filter writeOperationLdapFilter)
Sets the write operation ldap filter value. |
protected abstract void |
startOperations()
Start operations. |
static byte[] |
toBytes(java.lang.String string)
|
protected void |
updateTagInCache(java.lang.String key,
java.lang.String operationId,
java.util.Map reads,
java.util.Map cache)
Update tag in cache with the specified key, operation id, reads and cache 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 GPIO_PROFILE_PREFIX
public static final java.lang.String CONTROL_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 Signal tagWriteReport
protected final Signal tagWriteAggregationReport
protected InterestMasks tagInterest
protected InterestMasks aggregationInterest
protected final MethodMeasurement dataExtensions
| Constructor Detail |
|---|
protected 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 config (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.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 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)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_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected abstract boolean executeBlockWrite(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected abstract boolean executeFilter(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.createLdapFilter(String),
evaluateTagAggregatingLdapFilter(),
evaluateWriteOperationLdapFilter(),
setTagWriteAggregatingLdapFilter(Filter),
setWriteOperationLdapFilter(Filter)protected abstract boolean executeIncrementWrite(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected abstract boolean executeKill(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected abstract boolean executeLock(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected abstract boolean executeRead(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected abstract void executeStop()
protected abstract boolean executeWrite(java.lang.String[] op_params)
op_params - The opparams (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 java.lang.String getGpioProfilePrefix()
public int getMessageCapacity()
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 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 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 timestamp (Object) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.getTagWriteAggregating(),
handleMethodTagWriteAggregating(int,Measurement,Object)protected void handleWriteOperationsStopRequest()
getWriteOperationsStopRequest(),
handleMethodWriteOperationsStopRequest(int,Command,Object)public boolean isDeviceNeeded()
protected boolean isOperationsRunning()
boolean) value.
public void measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - source.timestamp - timestamp.newValue - new value.oldValue - old value.
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.protected void operationsInterrupted(java.lang.String errorMsg)
errorMsg - The error msg (String) parameter.protected void setOperationsStatusFinished()
protected void setOperationsStatusStarted()
protected void setTagWriteAggregatingLdapFilter(Filter tagAggregatingLdapFilter)
tagAggregatingLdapFilter - The tag aggregating ldap filter (Filter) parameter.protected void setWriteOperationLdapFilter(Filter writeOperationLdapFilter)
writeOperationLdapFilter - The write operation ldap filter (Filter) parameter.evaluateWriteOperationLdapFilter()public void setupNotification()
protected abstract void startOperations()
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)
key - The key (String) parameter.operationId - The operation id (String) parameter.reads - The reads (Map) parameter.cache - The cache (Map) parameter.
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||