2009-10-01 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.write.profile
Class EpcglobalLlrpWriteProfile

java.lang.Object
  extended by RfidWriteProfile
      extended by org.eclipse.soda.dk.epcglobal.llrp.write.profile.EpcglobalLlrpWriteProfile
All Implemented Interfaces:
EpcglobalLlrpWriteProfileService

public class EpcglobalLlrpWriteProfile
extends RfidWriteProfile
implements EpcglobalLlrpWriteProfileService

EPCglobal Low Level Reader Protocol (LLRP) Write Profile. The EpcglobalLlrpWriteProfile class implements the EpcglobalLlrpWriteProfileService and provides the controls for the profile.

The list of exported services:

Since:
1.0
Version:
1.2.0
See Also:
EpcglobalLlrpWriteProfileService, 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 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
static java.lang.String CLASS_NAME
          Defines the full class name.
protected static long DEFAULT_TASK_TIMEOUT
          Define the default task timeout (long) constant.
protected  CommandService epcglobalLlrpDeviceServiceAddAccessspec
          Defines the AddAccessspec c reference.
protected  SignalService epcglobalLlrpDeviceServiceAddAccessspecResponse
          Defines the AddAccessspecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceAddRospec
          Defines the AddRospec c reference.
protected  SignalService epcglobalLlrpDeviceServiceAddRospecResponse
          Defines the AddRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceDeleteAccessspec
          Defines the DeleteAccessspec c reference.
protected  SignalService epcglobalLlrpDeviceServiceDeleteAccessspecResponse
          Defines the DeleteAccessspecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceDeleteRospec
          Defines the DeleteRospec c reference.
protected  SignalService epcglobalLlrpDeviceServiceDeleteRospecResponse
          Defines the DeleteRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceDisableAccessspec
          Defines the DisableAccessspec c reference.
protected  SignalService epcglobalLlrpDeviceServiceDisableAccessspecResponse
          Defines the DisableAccessspecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceDisableRospec
          Defines the DisableRospec c reference.
protected  SignalService epcglobalLlrpDeviceServiceDisableRospecResponse
          Defines the DisableRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceEnableAccessspec
          Defines the EnableAccessspec c reference.
protected  SignalService epcglobalLlrpDeviceServiceEnableAccessspecResponse
          Defines the EnableAccessspecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceEnableRospec
          Defines the EnableRospec c reference.
protected  SignalService epcglobalLlrpDeviceServiceEnableRospecResponse
          Defines the EnableRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceGetAccessspecs
          Defines the GetAccessspecs c reference.
protected  SignalService epcglobalLlrpDeviceServiceGetAccessspecsResponse
          Defines the GetAccessspecsResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceGetRospecs
          Defines the GetRospecs c reference.
protected  SignalService epcglobalLlrpDeviceServiceGetRospecsResponse
          Defines the GetRospecsResponse signalref.
protected  SignalService epcglobalLlrpDeviceServiceRoAccessReport
          Defines the RoAccessReport signalref.
protected  CommandService epcglobalLlrpDeviceServiceSetReaderConfig_AntennaConfiguration
          Defines the SetReaderConfig_AntennaConfiguration c reference.
protected  CommandService epcglobalLlrpDeviceServiceSetReaderConfig_ForInventory
          Defines the SetReaderConfig_ForInventory c reference.
protected  SignalService epcglobalLlrpDeviceServiceSetReaderConfigResponse
          Defines the SetReaderConfigResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceStartRospec
          Defines the StartRospec c reference.
protected  SignalService epcglobalLlrpDeviceServiceStartRospecResponse
          Defines the StartRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceStopRospec
          Defines the StopRospec c reference.
protected  SignalService epcglobalLlrpDeviceServiceStopRospecResponse
          Defines the StopRospecResponse signalref.
protected static java.lang.String TASKARRAY_END_ROSPEC
          Define the taskarray end rospec (String) constant.
protected static java.lang.String TASKARRAY_START_ROSPEC
          Define the taskarray start rospec (String) constant.
 
Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.write.profile.service.EpcglobalLlrpWriteProfileService
ACCESS_SPEC_ID, ACCESS_SPEC_ID_DEFAULT, ACCESS_SPEC_ID_PROPERTY, ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, ANTENNA_ENABLED_KEY, ANTENNAID_DEFAULT, BLOCKERASE_MEMORYBANK_INDEX, BLOCKERASE_OPCOUNT_INDEX, BLOCKERASE_PARAMETER_REQUIRED_NUMBER, BLOCKERASE_PASSWORD_INDEX, BLOCKERASE_TIMEOUT_INDEX, BLOCKERASE_WORDCOUNT_INDEX, BLOCKERASE_WORDPOINTER_INDEX, BLOCKWRITE_MEMORYBANK_INDEX, BLOCKWRITE_OPCOUNT_INDEX, BLOCKWRITE_PARAMETER_REQUIRED_NUMBER, BLOCKWRITE_PASSWORD_INDEX, BLOCKWRITE_TIMEOUT_INDEX, BLOCKWRITE_WORDPOINTER_INDEX, BLOCKWRITE_WRITEDATA_INDEX, Capabilities, CAPABILITIES_ERROR_EXTERNAL_KEY, CAPABILITIES_EXTERNAL_KEY, CAPABILITIES_GET_EXTERNAL_KEY, COMMAND_BLOCKERASE_FORMAT, COMMAND_BLOCKWRITE_FORMAT, COMMAND_INCREMENT_WRITE_FORMAT, COMMAND_KILL_FORMAT, COMMAND_LOCK_FORMAT, COMMAND_READ_FORMAT, COMMAND_SET_FILTER_FORMAT, COMMAND_WRITE_FORMAT, Configuration, CONFIGURATION_ERROR_EXTERNAL_KEY, CONFIGURATION_EXTERNAL_KEY, CONFIGURATION_GET_EXTERNAL_KEY, EpcglobalLlrpWriteProfile, FACTORY_SERVICE_NAME, FILTER1_BITPOINTER_INDEX, FILTER1_MATCH_INDEX, FILTER1_MEMORYBANK_INDEX, FILTER1_TAGDATA_INDEX, FILTER1_TAGMASK_INDEX, FILTER2_BITPOINTER_INDEX, FILTER2_MATCH_INDEX, FILTER2_MEMORYBANK_INDEX, FILTER2_TAGDATA_INDEX, FILTER2_TAGMASK_INDEX, INCREMENTWRITE_DEFAULT_INCREMENT, INCREMENTWRITE_DEFAULT_REPEAT, INCREMENTWRITE_DEFAULT_TIMEOUT, INCREMENTWRITE_INCREMENT_INDEX, INCREMENTWRITE_MEMORYBANK_INDEX, INCREMENTWRITE_PARAMETER_REQUIRED_NUMBER, INCREMENTWRITE_PASSWORD_INDEX, INCREMENTWRITE_REPEAT_INDEX, INCREMENTWRITE_TIMEOUT_INDEX, INCREMENTWRITE_WORDPOINTER_INDEX, INCREMENTWRITE_WRITEDATA_INDEX, KEEP_RO_SPEC_RUNNING, KEEP_RO_SPEC_RUNNING_DEFAULT, KEEP_RO_SPEC_RUNNING_PROPERTY, KILL_OPCOUNT_INDEX, KILL_PARAMETER_REQUIRED_NUMBER, KILL_PASSWORD_INDEX, KILL_TIMEOUT_INDEX, LLRP_CONFIGURATION_ERROR_EXTERNAL_KEY, LLRP_CONFIGURATION_EXTERNAL_KEY, LLRP_CONFIGURATION_GET_EXTERNAL_KEY, LLRP_CONFIGURATION_KEY, LLRP_CONFIGURATION_READ_EXTERNAL_KEY, LLRP_CONFIGURATION_WRITE_EXTERNAL_KEY, LLRPConfiguration, LOCK_DATAFIELD_INDEX, LOCK_OPCOUNT_INDEX, LOCK_PARAMETER_REQUIRED_NUMBER, LOCK_PASSWORD_INDEX, LOCK_PRIVILEGE_INDEX, LOCK_TIMEOUT_INDEX, MANAGED_SERVICE_NAME, Metrics, METRICS_ERROR_EXTERNAL_KEY, METRICS_EXTERNAL_KEY, METRICS_GET_EXTERNAL_KEY, READ_MEMORYBANK_INDEX, READ_OPCOUNT_INDEX, READ_PARAMETER_REQUIRED_NUMBER, READ_PASSWORD_INDEX, READ_TIMEOUT_INDEX, READ_WORDCOUNT_INDEX, READ_WORDPOINTER_INDEX, REPEAT_DEFAULT, RO_SPEC_ID, RO_SPEC_ID_DEFAULT, RO_SPEC_ID_PROPERTY, SERVICE_DESCRIPTION, SERVICE_NAME, SET_ONE_FILTER_PARAMETER_NUMBER, SET_TWO_FILTER_PARAMETER_NUMBER, Status, STATUS_ERROR_EXTERNAL_KEY, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY, WRITE_DEFAULT_COUNT, WRITE_DEFAULT_TIMEOUT, WRITE_MEMORYBANK_INDEX, WRITE_OPCOUNT_INDEX, WRITE_PARAMETER_REQUIRED_NUMBER, WRITE_PASSWORD_INDEX, WRITE_TIMEOUT_INDEX, WRITE_WORDPOINTER_INDEX, WRITE_WRITEDATA_INDEX
 
Constructor Summary
EpcglobalLlrpWriteProfile()
          Constructs a new instance of the EpcglobalLlrpWriteProfile class.
 
Method Summary
protected  void accessSpecFinished(int accessSpecId)
          Access spec finished with the specified access spec id parameter.
 void activate()
          Activate.
protected  void addWorkingTask(int accessSpecId, org.eclipse.soda.dk.epcglobal.llrp.write.profile.EpcglobalLlrpWriteProfile.AccessSpecTask task)
          Add working task with the specified access spec ID and task parameters.
protected  void clearWorkingTasks()
          Clear working tasks.
protected  void disableAccessSpec(int accessSpecId)
          Disable access spec with the specified access spec ID parameter.
protected  void disableROSpecs()
          Disable rospecs.
protected  void endOperations()
          End operations.
protected  boolean executeBlockErase(java.lang.String[] op_parameters)
          Execute block erase with the specified opparameters parameter and return the boolean result.
protected  boolean executeBlockWrite(java.lang.String[] op_parameters)
          Execute block write with the specified opparameters parameter and return the boolean result.
protected  boolean executeCleanFilter(java.lang.String[] op_parameters)
          Execute clean filter with the specified opparameters parameter and return the boolean result.
protected  boolean executeFilter(java.lang.String[] op_parameters)
          Execute filter with the specified opparameters parameter and return the boolean result.
protected  boolean executeIncrementWrite(java.lang.String[] op_parameters)
          Execute increment write with the specified opparameters parameter and return the boolean result.
protected  boolean executeKill(java.lang.String[] op_parameters)
          Execute kill with the specified opparameters parameter and return the boolean result.
protected  boolean executeLock(java.lang.String[] op_parameters)
          Execute lock with the specified opparameters parameter and return the boolean result.
protected  boolean executeRead(java.lang.String[] op_parameters)
          Execute read with the specified opparameters parameter and return the boolean result.
protected  void executeStop()
          Execute stop with the specified opparameters parameter and return the boolean result.
protected  boolean executeWrite(java.lang.String[] op_parameters)
          Execute write with the specified opparameters parameter and return the boolean result.
 int getAccessSpecID()
          Gets the value of access spec ID custom parameter.
protected  IIdManager getAccessSpecIdManager()
          Gets the access spec ID manager (IIdManager) value.
 AdapterService getAdapter()
          Gets the get adapter value.
protected  ITaskManager getAdapterTaskManager()
          Gets the adapter task manager (ITaskManager) value.
protected  int getAirProtocol()
          Gets the air protocol (int) value.
 int getControlCapacity()
          Gets the control capacity (int) value.
protected  short getCurrAccessOpId()
          Gets the curr access op ID (short) value.
 DeviceService getDefaultDevice()
          Gets the default device (DeviceService) value.
 java.lang.String getDefaultKey()
          Gets the default key (String) value.
 boolean getKeepROSpecRunning()
          Gets the value of keep ro spec running custom parameter.
protected  java.lang.Object getLLRPConfigurationValue()
          Gets the llrpconfiguration value (Object) value.
 int getMessageCapacity()
          Gets the message capacity (int) value.
protected  int getOpAntennaId()
          Gets the op antenna ID (int) value.
protected  java.lang.Object getOwner()
          Gets the owner (Object) value.
 int getROSpecID()
          Gets the value of ro spec ID custom parameter.
protected  IIdManager getROSpecIdManager()
          Gets the rospec ID manager (IIdManager) value.
protected  java.util.List getROSpecParameters()
          Gets the rospec parameters (List) value.
 java.util.Map getTargetTagFilterParameters()
          Gets the target tag filter parameters (Map) value.
protected  ITaskListener getTaskListener()
          Gets the task listener (ITaskListener) value.
protected  org.eclipse.soda.dk.epcglobal.llrp.write.profile.EpcglobalLlrpWriteProfile.AccessSpecTask getWorkingTask(java.lang.Number accessSpecId)
          Get working task with the specified access spec ID parameter and return the AccessSpecTask result.
 java.lang.Object handleMethodLLRPConfiguration(int code, Measurement measurement, java.lang.Object data)
          Handle method llrpconfiguration with the specified code, measurement and data parameters and return the Object result.
protected  void handleSetLLRPConfiguration(Measurement measurement, java.lang.Object data)
          Handle set llrpconfiguration with the specified measurement and data parameters.
 boolean isAdapterNeeded()
          Is adapter needed.
 boolean isDeviceNeeded()
          Is device needed.
 boolean isLlrpConfigurationChanged()
          Gets the llrp configuration changed (boolean) value.
protected  boolean isOperationsRunning()
          Gets the operations running (boolean) value.
protected  void launchAccessSpec(int accessSpecId, java.lang.String resultKey, java.lang.String operationId, AbstractLLRPTask addAccessSpecTask, int opCount, long timeout)
          Launch access spec with the specified access spec ID, result key, operation ID, add access spec task, op count and timeout parameters.
protected  void processROAccessReport(java.util.Map paramMap, java.lang.Object timestamp)
          Process roaccess report with the specified param map and time stamp parameters.
protected  boolean registerROSpecIds()
          Register rospec ids and return the boolean result.
protected  void removeWorkingTask(int accessSpecId)
          Remove working task with the specified access spec ID parameter.
protected  void resetTaskManager()
          Reset task manager.
protected  void rOSpecEnded(int rOSpecId)
          Rospec stopped with the specified r ospec id parameter.
protected  void rOSpecStarted(int rOSpecId)
          R ospec started with the specified r ospec id parameter.
protected  void sendTagReport(java.util.Map tagReport, boolean isReadOperation)
          Send tag report with the specified tag report and is read operation parameters.
protected  void sendTagReport(java.util.Map tagReportData, java.lang.Object timestamp, java.lang.String operationId, java.lang.String resultKey)
          Send tag report with the specified tag report data, time stamp, operation ID and result key parameters.
 void setAccessSpecID(int AccessSpecID)
          Sets the value of access spec ID custom parameter.
 void setAdapter(AdapterService adapter)
          Set adapter.
 void setDevice(DeviceService device)
          Set device.
 void setKeepROSpecRunning(boolean KeepROSpecRunning)
          Sets the value of keep ro spec running custom parameter.
 void setLlrpConfigurationChanged(boolean llrpConfigurationChanged)
          Sets the LLRP configuration changed value.
 void setROSpecID(int ROSpecID)
          Sets the value of ro spec ID custom parameter.
 void setTargetTagFilterParameters(java.util.Map targetTagFilterParameters)
          Sets the target tag filter parameters value.
 void setup()
           
 void signalOccurred(SignalService source, java.lang.Object timestamp, java.lang.Object data)
          Signal occurred.
protected  boolean startOperations()
          Start operations.
protected  void startOperationsFailed(java.lang.String errorMsg)
          Start operations failed with the specified error msg parameter.
protected  void startROSpecs()
          Start rospecs and return the boolean result.
protected  void stopOperationsFailed(java.lang.String errorMsg)
          Stop operations failed with the specified error msg parameter.
protected  void stopOperationsSucceeded()
          Stop operations succeeded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the full class name.

Since:
1.1
See Also:
Constant Field Values

TASKARRAY_START_ROSPEC

protected static final java.lang.String TASKARRAY_START_ROSPEC
Define the taskarray start rospec (String) constant.

Since:
1.2
See Also:
Constant Field Values

TASKARRAY_END_ROSPEC

protected static final java.lang.String TASKARRAY_END_ROSPEC
Define the taskarray end rospec (String) constant.

Since:
1.2
See Also:
Constant Field Values

DEFAULT_TASK_TIMEOUT

protected static final long DEFAULT_TASK_TIMEOUT
Define the default task timeout (long) constant.

Since:
1.2
See Also:
Constant Field Values

epcglobalLlrpDeviceServiceSetReaderConfig_ForInventory

protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_ForInventory
Defines the SetReaderConfig_ForInventory c reference.

Since:
1.1

epcglobalLlrpDeviceServiceSetReaderConfig_AntennaConfiguration

protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_AntennaConfiguration
Defines the SetReaderConfig_AntennaConfiguration c reference.

Since:
1.1

epcglobalLlrpDeviceServiceGetRospecs

protected CommandService epcglobalLlrpDeviceServiceGetRospecs
Defines the GetRospecs c reference.

Since:
1.1

epcglobalLlrpDeviceServiceDeleteRospec

protected CommandService epcglobalLlrpDeviceServiceDeleteRospec
Defines the DeleteRospec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceAddRospec

protected CommandService epcglobalLlrpDeviceServiceAddRospec
Defines the AddRospec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceEnableRospec

protected CommandService epcglobalLlrpDeviceServiceEnableRospec
Defines the EnableRospec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceDisableRospec

protected CommandService epcglobalLlrpDeviceServiceDisableRospec
Defines the DisableRospec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceStartRospec

protected CommandService epcglobalLlrpDeviceServiceStartRospec
Defines the StartRospec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceStopRospec

protected CommandService epcglobalLlrpDeviceServiceStopRospec
Defines the StopRospec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceGetAccessspecs

protected CommandService epcglobalLlrpDeviceServiceGetAccessspecs
Defines the GetAccessspecs c reference.

Since:
1.1

epcglobalLlrpDeviceServiceDeleteAccessspec

protected CommandService epcglobalLlrpDeviceServiceDeleteAccessspec
Defines the DeleteAccessspec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceAddAccessspec

protected CommandService epcglobalLlrpDeviceServiceAddAccessspec
Defines the AddAccessspec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceEnableAccessspec

protected CommandService epcglobalLlrpDeviceServiceEnableAccessspec
Defines the EnableAccessspec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceDisableAccessspec

protected CommandService epcglobalLlrpDeviceServiceDisableAccessspec
Defines the DisableAccessspec c reference.

Since:
1.1

epcglobalLlrpDeviceServiceSetReaderConfigResponse

protected SignalService epcglobalLlrpDeviceServiceSetReaderConfigResponse
Defines the SetReaderConfigResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceGetRospecsResponse

protected SignalService epcglobalLlrpDeviceServiceGetRospecsResponse
Defines the GetRospecsResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceDeleteRospecResponse

protected SignalService epcglobalLlrpDeviceServiceDeleteRospecResponse
Defines the DeleteRospecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceAddRospecResponse

protected SignalService epcglobalLlrpDeviceServiceAddRospecResponse
Defines the AddRospecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceEnableRospecResponse

protected SignalService epcglobalLlrpDeviceServiceEnableRospecResponse
Defines the EnableRospecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceDisableRospecResponse

protected SignalService epcglobalLlrpDeviceServiceDisableRospecResponse
Defines the DisableRospecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceStartRospecResponse

protected SignalService epcglobalLlrpDeviceServiceStartRospecResponse
Defines the StartRospecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceStopRospecResponse

protected SignalService epcglobalLlrpDeviceServiceStopRospecResponse
Defines the StopRospecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceRoAccessReport

protected SignalService epcglobalLlrpDeviceServiceRoAccessReport
Defines the RoAccessReport signalref.

Since:
1.1

epcglobalLlrpDeviceServiceGetAccessspecsResponse

protected SignalService epcglobalLlrpDeviceServiceGetAccessspecsResponse
Defines the GetAccessspecsResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceDeleteAccessspecResponse

protected SignalService epcglobalLlrpDeviceServiceDeleteAccessspecResponse
Defines the DeleteAccessspecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceAddAccessspecResponse

protected SignalService epcglobalLlrpDeviceServiceAddAccessspecResponse
Defines the AddAccessspecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceEnableAccessspecResponse

protected SignalService epcglobalLlrpDeviceServiceEnableAccessspecResponse
Defines the EnableAccessspecResponse signalref.

Since:
1.1

epcglobalLlrpDeviceServiceDisableAccessspecResponse

protected SignalService epcglobalLlrpDeviceServiceDisableAccessspecResponse
Defines the DisableAccessspecResponse signalref.

Since:
1.1
Constructor Detail

EpcglobalLlrpWriteProfile

public EpcglobalLlrpWriteProfile()
Constructs a new instance of the EpcglobalLlrpWriteProfile class.

Since:
1.1
Method Detail

accessSpecFinished

protected void accessSpecFinished(int accessSpecId)
Access spec finished with the specified access spec id parameter.

Parameters:
accessSpecId - The access spec ID (int) parameter.

activate

public void activate()
Activate.


addWorkingTask

protected void addWorkingTask(int accessSpecId,
                              org.eclipse.soda.dk.epcglobal.llrp.write.profile.EpcglobalLlrpWriteProfile.AccessSpecTask task)
Add working task with the specified access spec ID and task parameters.

Parameters:
accessSpecId - The access spec ID (int) parameter.
task - The task (AccessSpecTask) parameter.
Since:
1.2

clearWorkingTasks

protected void clearWorkingTasks()
Clear working tasks.

Since:
1.2

disableAccessSpec

protected void disableAccessSpec(int accessSpecId)
Disable access spec with the specified access spec ID parameter.

Parameters:
accessSpecId - The access spec ID (int) parameter.
Since:
1.2

disableROSpecs

protected void disableROSpecs()
Disable rospecs.


endOperations

protected void endOperations()
End operations.


executeBlockErase

protected boolean executeBlockErase(java.lang.String[] op_parameters)
Execute block erase with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute block erase (boolean) value.

executeBlockWrite

protected boolean executeBlockWrite(java.lang.String[] op_parameters)
Execute block write with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute block write (boolean) value.

executeCleanFilter

protected boolean executeCleanFilter(java.lang.String[] op_parameters)
Execute clean filter with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute clean filter (boolean) value.

executeFilter

protected boolean executeFilter(java.lang.String[] op_parameters)
Execute filter with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute filter (boolean) value.

executeIncrementWrite

protected boolean executeIncrementWrite(java.lang.String[] op_parameters)
Execute increment write with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute increment write (boolean) value.

executeKill

protected boolean executeKill(java.lang.String[] op_parameters)
Execute kill with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute kill (boolean) value.

executeLock

protected boolean executeLock(java.lang.String[] op_parameters)
Execute lock with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute lock (boolean) value.

executeRead

protected boolean executeRead(java.lang.String[] op_parameters)
Execute read with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute read (boolean) value.

executeStop

protected void executeStop()
Execute stop with the specified opparameters parameter and return the boolean result.


executeWrite

protected boolean executeWrite(java.lang.String[] op_parameters)
Execute write with the specified opparameters parameter and return the boolean result.

Parameters:
op_parameters - The opparameters (String[]) parameter.
Returns:
Results of the execute write (boolean) value.

getAccessSpecID

public int getAccessSpecID()
Gets the value of access spec ID custom parameter.

Returns:
access spec ID custom parameter.
Since:
1.1

getAccessSpecIdManager

protected IIdManager getAccessSpecIdManager()
Gets the access spec ID manager (IIdManager) value.

Returns:
The access spec id manager (IIdManager) value.

getAdapter

public AdapterService getAdapter()
Gets the get adapter value.

Returns:
The adapter value.
Since:
1.1

getAdapterTaskManager

protected ITaskManager getAdapterTaskManager()
Gets the adapter task manager (ITaskManager) value.

Returns:
The adapter task manager (ITaskManager) value.

getAirProtocol

protected int getAirProtocol()
Gets the air protocol (int) value.

Returns:
The air protocol (int) value.

getControlCapacity

public int getControlCapacity()
Gets the control capacity (int) value.

Returns:
The control capacity value.
Since:
1.1

getCurrAccessOpId

protected short getCurrAccessOpId()
Gets the curr access op ID (short) value.

Returns:
The curr access op id (short) value.

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default device (DeviceService) value.

Returns:
DeviceService The default DeviceService.
Since:
1.1

getDefaultKey

public java.lang.String getDefaultKey()
Gets the default key (String) value.

Returns:
String The default key
Since:
1.1

getKeepROSpecRunning

public boolean getKeepROSpecRunning()
Gets the value of keep ro spec running custom parameter.

Returns:
keep ro spec running custom parameter.
Since:
1.2

getLLRPConfigurationValue

protected java.lang.Object getLLRPConfigurationValue()
Gets the llrpconfiguration value (Object) value.

Returns:
The llrpconfiguration value (Object) value.

getMessageCapacity

public int getMessageCapacity()
Gets the message capacity (int) value.

Returns:
int The message capacity.
Since:
1.1

getOpAntennaId

protected int getOpAntennaId()
Gets the op antenna ID (int) value.

Returns:
The op antenna id (int) value.

getOwner

protected java.lang.Object getOwner()
Gets the owner (Object) value.

Returns:
The owner (Object) value.

getROSpecID

public int getROSpecID()
Gets the value of ro spec ID custom parameter.

Returns:
ro spec ID custom parameter.
Since:
1.1

getROSpecIdManager

protected IIdManager getROSpecIdManager()
Gets the rospec ID manager (IIdManager) value.

Returns:
The rospec id manager (IIdManager) value.

getROSpecParameters

protected java.util.List getROSpecParameters()
Gets the rospec parameters (List) value.

Returns:
The rospec parameters (List) value.

getTargetTagFilterParameters

public java.util.Map getTargetTagFilterParameters()
Gets the target tag filter parameters (Map) value.

Returns:
The target tag filter parameters (Map) value.

getTaskListener

protected ITaskListener getTaskListener()
Gets the task listener (ITaskListener) value.

Returns:
The task listener (ITaskListener) value.

getWorkingTask

protected org.eclipse.soda.dk.epcglobal.llrp.write.profile.EpcglobalLlrpWriteProfile.AccessSpecTask getWorkingTask(java.lang.Number accessSpecId)
Get working task with the specified access spec ID parameter and return the AccessSpecTask result.

Parameters:
accessSpecId - The access spec ID (Number) parameter.
Returns:
Results of the get working task (AccessSpecTask) value.
Since:
1.2

handleMethodLLRPConfiguration

public java.lang.Object handleMethodLLRPConfiguration(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)
Handle method llrpconfiguration with the specified code, measurement and data parameters and return the Object result.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method llrpconfiguration (Object) value.

handleSetLLRPConfiguration

protected void handleSetLLRPConfiguration(Measurement measurement,
                                          java.lang.Object data)
Handle set llrpconfiguration with the specified measurement and data parameters.

Parameters:
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.

isAdapterNeeded

public boolean isAdapterNeeded()
Is adapter needed.

Returns:
The results of this method.
Since:
1.1

isDeviceNeeded

public boolean isDeviceNeeded()
Is device needed.

Returns:
The results of this method.
Since:
1.1

isLlrpConfigurationChanged

public boolean isLlrpConfigurationChanged()
Gets the llrp configuration changed (boolean) value.

Returns:
The llrp configuration changed (boolean) value.

isOperationsRunning

protected boolean isOperationsRunning()
Gets the operations running (boolean) value.

Returns:
The operations running (boolean) value.

launchAccessSpec

protected void launchAccessSpec(int accessSpecId,
                                java.lang.String resultKey,
                                java.lang.String operationId,
                                AbstractLLRPTask addAccessSpecTask,
                                int opCount,
                                long timeout)
Launch access spec with the specified access spec ID, result key, operation ID, add access spec task, op count and timeout parameters.

Parameters:
accessSpecId - The access spec ID (int) parameter.
resultKey - The result key (String) parameter.
operationId - The operation ID (String) parameter.
addAccessSpecTask - The add access spec task (AbstractLLRPTask) parameter.
opCount - The op count (int) parameter.
timeout - The timeout (long) parameter.
Since:
1.2

processROAccessReport

protected void processROAccessReport(java.util.Map paramMap,
                                     java.lang.Object timestamp)
Process roaccess report with the specified param map and time stamp parameters.

Parameters:
paramMap - The param map (Map) parameter.
timestamp - The time stamp (Object) parameter.
Since:
1.2

registerROSpecIds

protected boolean registerROSpecIds()
Register rospec ids and return the boolean result.

Returns:
Results of the register rospec ids (boolean) value.

removeWorkingTask

protected void removeWorkingTask(int accessSpecId)
Remove working task with the specified access spec ID parameter.

Parameters:
accessSpecId - The access spec ID (int) parameter.
Since:
1.2

resetTaskManager

protected void resetTaskManager()
Reset task manager.


rOSpecEnded

protected void rOSpecEnded(int rOSpecId)
Rospec stopped with the specified r ospec id parameter.

Parameters:
rOSpecId - The r ospec ID (int) parameter.

rOSpecStarted

protected void rOSpecStarted(int rOSpecId)
R ospec started with the specified r ospec id parameter.

Parameters:
rOSpecId - The r ospec ID (int) parameter.

sendTagReport

protected void sendTagReport(java.util.Map tagReport,
                             boolean isReadOperation)
Send tag report with the specified tag report and is read operation parameters.

Parameters:
tagReport - The tag report (Map) parameter.
isReadOperation - The is read operation (boolean) parameter.

sendTagReport

protected void sendTagReport(java.util.Map tagReportData,
                             java.lang.Object timestamp,
                             java.lang.String operationId,
                             java.lang.String resultKey)
Send tag report with the specified tag report data, time stamp, operation ID and result key parameters.

Parameters:
tagReportData - The tag report data (Map) parameter.
timestamp - The time stamp (Object) parameter.
operationId - The operation ID (String) parameter.
resultKey - The result key (String) parameter.
Since:
1.2

setAccessSpecID

public void setAccessSpecID(int AccessSpecID)
Sets the value of access spec ID custom parameter.

Parameters:
AccessSpecID - The access spec ID custom parameter.
Since:
1.1

setAdapter

public void setAdapter(AdapterService adapter)
Set adapter.

Parameters:
adapter - adapter.
Since:
1.1

setDevice

public void setDevice(DeviceService device)
Set device.

Parameters:
device - device.
Since:
1.1

setKeepROSpecRunning

public void setKeepROSpecRunning(boolean KeepROSpecRunning)
Sets the value of keep ro spec running custom parameter.

Parameters:
KeepROSpecRunning - The keep ro spec running custom parameter.
Since:
1.2

setLlrpConfigurationChanged

public void setLlrpConfigurationChanged(boolean llrpConfigurationChanged)
Sets the LLRP configuration changed value.

Parameters:
llrpConfigurationChanged - The LLRP configuration changed (boolean) parameter.

setROSpecID

public void setROSpecID(int ROSpecID)
Sets the value of ro spec ID custom parameter.

Parameters:
ROSpecID - The ro spec ID custom parameter.
Since:
1.1

setTargetTagFilterParameters

public void setTargetTagFilterParameters(java.util.Map targetTagFilterParameters)
Sets the target tag filter parameters value.

Parameters:
targetTagFilterParameters - The target tag filter parameters (Map) parameter.

setup

public void setup()
Since:
1.1
See Also:
org.eclipse.soda.dk.device.Container#setup()

signalOccurred

public void signalOccurred(SignalService source,
                           java.lang.Object timestamp,
                           java.lang.Object data)
Signal occurred.

Parameters:
source - source.
timestamp - time stamp.
data - data.
Since:
1.1

startOperations

protected boolean startOperations()
Start operations.

Returns:
Results of the start operations (boolean) value.

startOperationsFailed

protected void startOperationsFailed(java.lang.String errorMsg)
Start operations failed with the specified error msg parameter.

Parameters:
errorMsg - The error msg (String) parameter.

startROSpecs

protected void startROSpecs()
Start rospecs and return the boolean result.


stopOperationsFailed

protected void stopOperationsFailed(java.lang.String errorMsg)
Stop operations failed with the specified error msg parameter.

Parameters:
errorMsg - The error msg (String) parameter.

stopOperationsSucceeded

protected void stopOperationsSucceeded()
Stop operations succeeded.


2009-10-01 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.