|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectRfidWriteProfile
org.eclipse.soda.dk.epcglobal.llrp.write.profile.EpcglobalLlrpWriteProfile
public class EpcglobalLlrpWriteProfile
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:
EpcglobalLlrpWriteProfileService,
See the following specification(s) for more details:
Title:
EPCglobal Low Level Reader Protocol (LLRP)
Version:
1.0.1
Date:
August 13, 2007
Vendor:
EPCglobal
Comment:
Ratified
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the full class name. |
protected CommandService |
epcglobalLlrpDeviceServiceAddAccessspec
Defines the AddAccessspec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceAddAccessspecResponse
Defines the AddAccessspecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceAddRospec
Defines the AddRospec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceAddRospecResponse
Defines the AddRospecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceDeleteAccessspec
Defines the DeleteAccessspec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceDeleteAccessspecResponse
Defines the DeleteAccessspecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceDeleteRospec
Defines the DeleteRospec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceDeleteRospecResponse
Defines the DeleteRospecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceDisableAccessspec
Defines the DisableAccessspec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceDisableAccessspecResponse
Defines the DisableAccessspecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceDisableRospec
Defines the DisableRospec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceDisableRospecResponse
Defines the DisableRospecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceEnableAccessspec
Defines the EnableAccessspec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceEnableAccessspecResponse
Defines the EnableAccessspecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceEnableRospec
Defines the EnableRospec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceEnableRospecResponse
Defines the EnableRospecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceGetAccessspecs
Defines the GetAccessspecs commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceGetAccessspecsResponse
Defines the GetAccessspecsResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceGetRospecs
Defines the GetRospecs commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceGetRospecsResponse
Defines the GetRospecsResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceRoAccessReport
Defines the RoAccessReport signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceSetReaderConfig_AntennaConfiguration
Defines the SetReaderConfig_AntennaConfiguration commandref. |
protected CommandService |
epcglobalLlrpDeviceServiceSetReaderConfig_ForInventory
Defines the SetReaderConfig_ForInventory commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceSetReaderConfigResponse
Defines the SetReaderConfigResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceStartRospec
Defines the StartRospec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceStartRospecResponse
Defines the StartRospecResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceStopRospec
Defines the StopRospec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceStopRospecResponse
Defines the StopRospecResponse signalref. |
| Constructor Summary | |
|---|---|
EpcglobalLlrpWriteProfile()
Constructs a new instance of the EpcglobalLlrpWriteProfile class. |
|
| Method Summary | |
|---|---|
void |
activate()
Activate. |
protected void |
endOperations()
End operations. |
protected boolean |
executeBlockErase(java.lang.String[] op_params)
Execute block erase with the specified opparams parameter and return the boolean result. |
protected boolean |
executeBlockWrite(java.lang.String[] op_params)
Execute block write with the specified opparams parameter and return the boolean result. |
protected boolean |
executeCleanFilter(java.lang.String[] op_params)
Execute clean filter with the specified opparams parameter and return the boolean result. |
protected boolean |
executeFilter(java.lang.String[] op_params)
Execute filter with the specified opparams parameter and return the boolean result. |
protected boolean |
executeIncrementWrite(java.lang.String[] op_params)
Execute increment write with the specified opparams parameter and return the boolean result. |
protected boolean |
executeKill(java.lang.String[] op_params)
Execute kill with the specified opparams parameter and return the boolean result. |
protected boolean |
executeLock(java.lang.String[] op_params)
Execute lock with the specified opparams parameter and return the boolean result. |
protected boolean |
executeRead(java.lang.String[] op_params)
Execute read with the specified opparams parameter and return the boolean result. |
protected void |
executeStop()
Execute stop with the specified opparams parameter and return the boolean result. |
protected boolean |
executeWrite(java.lang.String[] op_params)
Execute write with the specified opparams parameter and return the boolean result. |
int |
getAccessSpecID()
Gets the value of access spec id custom parameter. |
protected Task_ADD_ACCESSSPEC |
getAddAccessSpecTask(java.util.Map targetTagFilterParameters,
java.util.Map accessOpParameters,
int opCount)
Get add access spec task with the specified target tag filter parameters, access op parameters and op count parameters and return the Task_ADD_ACCESSSPEC result. |
protected java.util.Map |
getAddROSpecCommandParameters(int rospecId)
Get add rospec command parameters with the specified rospec id parameter and return the Map result. |
protected int |
getAirProtocol()
Gets the air protocol (int) value. |
protected java.util.Map |
getAISpecParameter(int[] antennaIds)
Get aispec parameter with the specified antenna ids parameter and return the Map result. |
protected short |
getCurrAccessOpId()
Gets the curr access op id (short) value. |
DeviceService |
getDefaultDevice()
Gets the default DeviceService. |
java.lang.String |
getDefaultKey()
Gets the default key of the profile. |
protected int |
getOpAntennaId()
Gets the op antenna id (int) value. |
int |
getROSpecID()
Gets the value of ro spec id custom parameter. |
java.util.Map |
getTargetTagFilterParameters()
Gets the target tag filter parameters (Map) value. |
boolean |
isDeviceNeeded()
Is device needed. |
protected void |
populateTasks()
Populate tasks. |
protected void |
resetTaskManager()
Reset task manager. |
protected void |
sendTagReport(java.util.Map tagReport,
boolean isReadOperation)
Send tag report with the specified tag report and is read operation parameters. |
void |
setAccessSpecID(int AccessSpecID)
Sets the value of access spec id custom parameter. |
void |
setDevice(DeviceService device)
Set device. |
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 void |
startOperations()
Start operations. |
protected void |
startOperationsFailed(java.lang.String errorMsg)
Start operations failed with the specified error msg parameter. |
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 |
|---|
public static final java.lang.String CLASS_NAME
protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_ForInventory
protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_AntennaConfiguration
protected CommandService epcglobalLlrpDeviceServiceGetRospecs
protected CommandService epcglobalLlrpDeviceServiceDeleteRospec
protected CommandService epcglobalLlrpDeviceServiceAddRospec
protected CommandService epcglobalLlrpDeviceServiceEnableRospec
protected CommandService epcglobalLlrpDeviceServiceDisableRospec
protected CommandService epcglobalLlrpDeviceServiceStartRospec
protected CommandService epcglobalLlrpDeviceServiceStopRospec
protected CommandService epcglobalLlrpDeviceServiceGetAccessspecs
protected CommandService epcglobalLlrpDeviceServiceDeleteAccessspec
protected CommandService epcglobalLlrpDeviceServiceAddAccessspec
protected CommandService epcglobalLlrpDeviceServiceEnableAccessspec
protected CommandService epcglobalLlrpDeviceServiceDisableAccessspec
protected SignalService epcglobalLlrpDeviceServiceSetReaderConfigResponse
protected SignalService epcglobalLlrpDeviceServiceGetRospecsResponse
protected SignalService epcglobalLlrpDeviceServiceDeleteRospecResponse
protected SignalService epcglobalLlrpDeviceServiceAddRospecResponse
protected SignalService epcglobalLlrpDeviceServiceEnableRospecResponse
protected SignalService epcglobalLlrpDeviceServiceDisableRospecResponse
protected SignalService epcglobalLlrpDeviceServiceStartRospecResponse
protected SignalService epcglobalLlrpDeviceServiceStopRospecResponse
protected SignalService epcglobalLlrpDeviceServiceRoAccessReport
protected SignalService epcglobalLlrpDeviceServiceGetAccessspecsResponse
protected SignalService epcglobalLlrpDeviceServiceDeleteAccessspecResponse
protected SignalService epcglobalLlrpDeviceServiceAddAccessspecResponse
protected SignalService epcglobalLlrpDeviceServiceEnableAccessspecResponse
protected SignalService epcglobalLlrpDeviceServiceDisableAccessspecResponse
| Constructor Detail |
|---|
public EpcglobalLlrpWriteProfile()
| Method Detail |
|---|
public void activate()
protected void endOperations()
startOperations()protected boolean executeBlockErase(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected boolean executeBlockWrite(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected boolean executeCleanFilter(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected boolean executeFilter(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.executeCleanFilter(String[])protected boolean executeIncrementWrite(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected boolean executeKill(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected boolean executeLock(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected boolean executeRead(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.protected void executeStop()
protected boolean executeWrite(java.lang.String[] op_params)
op_params - The opparams (String[]) parameter.
boolean) value.executeBlockWrite(String[]),
executeIncrementWrite(String[])protected java.util.Map getAISpecParameter(int[] antennaIds)
antennaIds - The antenna ids (int[]) parameter.
Map) value.public int getAccessSpecID()
setAccessSpecID(int)
protected Task_ADD_ACCESSSPEC getAddAccessSpecTask(java.util.Map targetTagFilterParameters,
java.util.Map accessOpParameters,
int opCount)
targetTagFilterParameters - The target tag filter parameters (Map) parameter.accessOpParameters - The access op parameters (Map) parameter.opCount - The op count (int) parameter.
Task_ADD_ACCESSSPEC) value.protected java.util.Map getAddROSpecCommandParameters(int rospecId)
rospecId - The rospec id (int) parameter.
Map) value.protected int getAirProtocol()
int) value.protected short getCurrAccessOpId()
short) value.public DeviceService getDefaultDevice()
public java.lang.String getDefaultKey()
protected int getOpAntennaId()
int) value.public int getROSpecID()
setROSpecID(int)public java.util.Map getTargetTagFilterParameters()
Map) value.setTargetTagFilterParameters(Map)public boolean isDeviceNeeded()
protected void populateTasks()
protected void resetTaskManager()
protected void sendTagReport(java.util.Map tagReport,
boolean isReadOperation)
tagReport - The tag report (Map) parameter.isReadOperation - The is read operation (boolean) parameter.public void setAccessSpecID(int AccessSpecID)
AccessSpecID - The access spec id custom parameter.getAccessSpecID()public void setDevice(DeviceService device)
device - device.getDefaultDevice()public void setROSpecID(int ROSpecID)
ROSpecID - The ro spec id custom parameter.getROSpecID()public void setTargetTagFilterParameters(java.util.Map targetTagFilterParameters)
targetTagFilterParameters - The target tag filter parameters (Map) parameter.getTargetTagFilterParameters()public void setup()
org.eclipse.soda.dk.device.Container#setup()
public void signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
source - source.timestamp - timestamp.data - data.protected void startOperations()
endOperations()protected void startOperationsFailed(java.lang.String errorMsg)
errorMsg - The error msg (String) parameter.stopOperationsFailed(String)protected void stopOperationsFailed(java.lang.String errorMsg)
errorMsg - The error msg (String) parameter.startOperationsFailed(String)protected void stopOperationsSucceeded()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||