|
2010-01-26 1.2.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)
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. |
| 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 |
|---|
public static final java.lang.String CLASS_NAME
protected static final java.lang.String TASKARRAY_START_ROSPEC
protected static final java.lang.String TASKARRAY_END_ROSPEC
protected static final long DEFAULT_TASK_TIMEOUT
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 |
|---|
protected void accessSpecFinished(int accessSpecId)
accessSpecId - The access spec ID (int) parameter.public void activate()
protected void addWorkingTask(int accessSpecId,
org.eclipse.soda.dk.epcglobal.llrp.write.profile.EpcglobalLlrpWriteProfile.AccessSpecTask task)
accessSpecId - The access spec ID (int) parameter.task - The task (AccessSpecTask) parameter.protected void clearWorkingTasks()
protected void disableAccessSpec(int accessSpecId)
accessSpecId - The access spec ID (int) parameter.protected void disableROSpecs()
protected void endOperations()
protected boolean executeBlockErase(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected boolean executeBlockWrite(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected boolean executeCleanFilter(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected boolean executeFilter(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected boolean executeIncrementWrite(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected boolean executeKill(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected boolean executeLock(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected boolean executeRead(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.protected void executeStop()
protected boolean executeWrite(java.lang.String[] op_parameters)
op_parameters - The opparameters (String[]) parameter.
boolean) value.public int getAccessSpecID()
protected IIdManager getAccessSpecIdManager()
IIdManager) value.public AdapterService getAdapter()
protected ITaskManager getAdapterTaskManager()
ITaskManager) value.protected int getAirProtocol()
int) value.public int getControlCapacity()
protected short getCurrAccessOpId()
short) value.public DeviceService getDefaultDevice()
public java.lang.String getDefaultKey()
public boolean getKeepROSpecRunning()
protected java.lang.Object getLLRPConfigurationValue()
Object) value.public int getMessageCapacity()
protected int getOpAntennaId()
int) value.protected java.lang.Object getOwner()
Object) value.public int getROSpecID()
protected IIdManager getROSpecIdManager()
IIdManager) value.protected java.util.List getROSpecParameters()
List) value.public java.util.Map getTargetTagFilterParameters()
Map) value.protected ITaskListener getTaskListener()
ITaskListener) value.protected org.eclipse.soda.dk.epcglobal.llrp.write.profile.EpcglobalLlrpWriteProfile.AccessSpecTask getWorkingTask(java.lang.Number accessSpecId)
accessSpecId - The access spec ID (Number) parameter.
AccessSpecTask) value.
public java.lang.Object handleMethodLLRPConfiguration(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.
protected void handleSetLLRPConfiguration(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.public boolean isAdapterNeeded()
public boolean isDeviceNeeded()
public boolean isLlrpConfigurationChanged()
boolean) value.protected boolean isOperationsRunning()
boolean) value.
protected void launchAccessSpec(int accessSpecId,
java.lang.String resultKey,
java.lang.String operationId,
AbstractLLRPTask addAccessSpecTask,
int opCount,
long timeout)
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.
protected void processROAccessReport(java.util.Map paramMap,
java.lang.Object timestamp)
paramMap - The param map (Map) parameter.timestamp - The time stamp (Object) parameter.protected boolean registerROSpecIds()
boolean) value.protected void removeWorkingTask(int accessSpecId)
accessSpecId - The access spec ID (int) parameter.protected void resetTaskManager()
protected void rOSpecEnded(int rOSpecId)
rOSpecId - The r ospec ID (int) parameter.protected void rOSpecStarted(int rOSpecId)
rOSpecId - The r ospec ID (int) parameter.
protected void sendTagReport(java.util.Map tagReport,
boolean isReadOperation)
tagReport - The tag report (Map) parameter.isReadOperation - The is read operation (boolean) parameter.
protected void sendTagReport(java.util.Map tagReportData,
java.lang.Object timestamp,
java.lang.String operationId,
java.lang.String resultKey)
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.public void setAccessSpecID(int AccessSpecID)
AccessSpecID - The access spec ID custom parameter.public void setAdapter(AdapterService adapter)
adapter - adapter.public void setDevice(DeviceService device)
device - device.public void setKeepROSpecRunning(boolean KeepROSpecRunning)
KeepROSpecRunning - The keep ro spec running custom parameter.public void setLlrpConfigurationChanged(boolean llrpConfigurationChanged)
llrpConfigurationChanged - The LLRP configuration changed (boolean) parameter.public void setROSpecID(int ROSpecID)
ROSpecID - The ro spec ID custom parameter.public void setTargetTagFilterParameters(java.util.Map targetTagFilterParameters)
targetTagFilterParameters - The target tag filter parameters (Map) parameter.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 - time stamp.data - data.protected boolean startOperations()
boolean) value.protected void startOperationsFailed(java.lang.String errorMsg)
errorMsg - The error msg (String) parameter.protected void startROSpecs()
protected void stopOperationsFailed(java.lang.String errorMsg)
errorMsg - The error msg (String) parameter.protected void stopOperationsSucceeded()
|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||