|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEscObject
org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
org.eclipse.soda.dk.epcglobal.llrp.helper.task.AbstractTask_ACCESS_TAG
public abstract class AbstractTask_ACCESS_TAG
| Field Summary | |
|---|---|
static java.lang.String |
OPERATIONID_KEY
Define the operationid key (String) constant. |
static java.lang.String |
RESULTCODE_KEY
Define the resultcode key (String) constant. |
static java.lang.String |
SUCCESSCOUNT_KEY
Define the successcount key (String) constant. |
static java.lang.String |
TAGREPORTDATA_KEY
Define the tagreportdata key (String) constant. |
static java.lang.String |
TIMESTAMP_KEY
Define the timestamp key (String) constant. |
| Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask |
|---|
ERROR, REPORT, SUCCESS, TIMEOUT |
| Constructor Summary | |
|---|---|
protected |
AbstractTask_ACCESS_TAG(int accessOpId,
int operationCount,
Task_DELETE_EXIST_ACCESSSPEC task_delete_exist_accessspec,
Task_ADD_ACCESSSPEC task_add_accessspec,
Task_ENABLE_ACCESSSPEC task_enable_accessspec,
SignalService rOAccessReport)
Constructs an instance of this class from the specified access op id, operation count, taskdeleteexistaccessspec, taskaddaccessspec, taskenableaccessspec and r oaccess report parameters. |
protected |
AbstractTask_ACCESS_TAG(int accessOpId,
int operationCount,
Task_DELETE_EXIST_ACCESSSPEC task_delete_exist_accessspec,
Task_ADD_ACCESSSPEC task_add_accessspec,
Task_ENABLE_ACCESSSPEC task_enable_accessspec,
SignalService rOAccessReport,
long timeoutValue,
java.lang.String operationId)
Constructs an instance of this class from the specified write op id, taskaddaccessspec, taskenableaccessspec, taskdisableaccessspec and r oaccess report parameters. |
protected |
AbstractTask_ACCESS_TAG(int accessOpId,
Task_DELETE_EXIST_ACCESSSPEC task_delete_exist_accessspec,
Task_ADD_ACCESSSPEC task_add_accessspec,
Task_ENABLE_ACCESSSPEC task_enable_accessspec,
SignalService rOAccessReport,
long timeoutValue,
java.lang.String operationId)
Constructs an instance of this class from the specified access op id, taskdeleteexistaccessspec, taskaddaccessspec, taskenableaccessspec, r oaccess report, timeout value and operation id parameters. |
| Method Summary | |
|---|---|
protected void |
addTagToCache(java.lang.String tagId)
Add tag to cache with the specified tag id parameter. |
protected int |
getAccessOpId()
Gets the access op id (int) value. |
protected int |
getAccessSpecId()
Gets the access spec id (int) value. |
protected java.lang.String |
getOperationId()
Gets the operation id (String) value. |
protected abstract java.lang.String |
getOpSpecResultKey()
Gets the op spec result key (String) value. |
protected abstract java.lang.String |
getOpSpecResultParameterKey()
Gets the op spec result parameter key (String) value. |
protected abstract int |
getOpSpecSuccessResultCode()
Gets the op spec success result code (int) value. |
void |
handleResponse(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
Handle response with the specified source, timestamp and data parameters. |
protected void |
initialize()
Initialize. |
protected boolean |
isDuplicateTag(java.lang.String tagId)
Is duplicate tag with the specified tag id parameter and return the boolean result. |
boolean |
launchTask()
Launch task and return the boolean result. |
protected void |
oneFailureOccurred()
One failure occurred. |
protected void |
oneSuccessOccurred()
One success occurred. |
protected void |
processTag(java.util.Map paramMap,
java.lang.Object timestamp)
Is write tag success with the specified param map parameter and return the boolean result. |
protected void |
reportAccess(java.util.Map tagReportData,
java.lang.Object timestamp,
java.lang.Integer resultCode)
Report access with the specified tag report data, timestamp and result code parameters. |
void |
reset()
Reset. |
protected void |
taskFinished(int status)
Task finished with the specified status parameter. |
void |
taskNotice(java.lang.String taskName,
int status,
java.lang.Object result)
Task notice with the specified task name, status and result parameters. |
protected void |
timeOutOccurred()
Time out occurred. |
| Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask |
|---|
addTaskListener, getState, getTaskListeners, isRemoveListenerRequired, notifyListener, removeTaskListener, removeTaskListenerNoThread, setState, setTaskListeners, startTimer, stopTimer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask |
|---|
duplicateTask, getTaskName |
| Field Detail |
|---|
public static final java.lang.String TAGREPORTDATA_KEY
public static final java.lang.String RESULTCODE_KEY
public static final java.lang.String TIMESTAMP_KEY
public static final java.lang.String OPERATIONID_KEY
public static final java.lang.String SUCCESSCOUNT_KEY
| Constructor Detail |
|---|
protected AbstractTask_ACCESS_TAG(int accessOpId,
int operationCount,
Task_DELETE_EXIST_ACCESSSPEC task_delete_exist_accessspec,
Task_ADD_ACCESSSPEC task_add_accessspec,
Task_ENABLE_ACCESSSPEC task_enable_accessspec,
SignalService rOAccessReport)
accessOpId - The access op id (int) parameter.operationCount - The operation count (int) parameter.task_delete_exist_accessspec - The taskdeleteexistaccessspec (Task_DELETE_EXIST_ACCESSSPEC) parameter.task_add_accessspec - The taskaddaccessspec (Task_ADD_ACCESSSPEC) parameter.task_enable_accessspec - The taskenableaccessspec (Task_ENABLE_ACCESSSPEC) parameter.rOAccessReport - The r oaccess report (SignalService) parameter.AbstractTask_ACCESS_TAG(int,Task_DELETE_EXIST_ACCESSSPEC,Task_ADD_ACCESSSPEC,Task_ENABLE_ACCESSSPEC,SignalService,long,String),
AbstractTask_ACCESS_TAG(int,int,Task_DELETE_EXIST_ACCESSSPEC,Task_ADD_ACCESSSPEC,Task_ENABLE_ACCESSSPEC,SignalService,long,String)
protected AbstractTask_ACCESS_TAG(int accessOpId,
Task_DELETE_EXIST_ACCESSSPEC task_delete_exist_accessspec,
Task_ADD_ACCESSSPEC task_add_accessspec,
Task_ENABLE_ACCESSSPEC task_enable_accessspec,
SignalService rOAccessReport,
long timeoutValue,
java.lang.String operationId)
accessOpId - The access op id (int) parameter.task_delete_exist_accessspec - The taskdeleteexistaccessspec (Task_DELETE_EXIST_ACCESSSPEC) parameter.task_add_accessspec - The taskaddaccessspec (Task_ADD_ACCESSSPEC) parameter.task_enable_accessspec - The taskenableaccessspec (Task_ENABLE_ACCESSSPEC) parameter.rOAccessReport - The r oaccess report (SignalService) parameter.timeoutValue - The timeout value (long) parameter.operationId - The operation id (String) parameter.AbstractTask_ACCESS_TAG(int,int,Task_DELETE_EXIST_ACCESSSPEC,Task_ADD_ACCESSSPEC,Task_ENABLE_ACCESSSPEC,SignalService),
AbstractTask_ACCESS_TAG(int,int,Task_DELETE_EXIST_ACCESSSPEC,Task_ADD_ACCESSSPEC,Task_ENABLE_ACCESSSPEC,SignalService,long,String)
protected AbstractTask_ACCESS_TAG(int accessOpId,
int operationCount,
Task_DELETE_EXIST_ACCESSSPEC task_delete_exist_accessspec,
Task_ADD_ACCESSSPEC task_add_accessspec,
Task_ENABLE_ACCESSSPEC task_enable_accessspec,
SignalService rOAccessReport,
long timeoutValue,
java.lang.String operationId)
accessOpId - The write op id (int) parameter.operationCount - The operation count (int) parameter.task_delete_exist_accessspec - The taskdeleteexistaccessspec (Task_DELETE_EXIST_ACCESSSPEC) parameter.task_add_accessspec - The taskaddaccessspec (Task_ADD_ACCESSSPEC) parameter.task_enable_accessspec - The taskenableaccessspec (Task_ENABLE_ACCESSSPEC) parameter.rOAccessReport - The r oaccess report (SignalService) parameter.timeoutValue - The timeout value (long) parameter.operationId - The operation id (String) parameter.AbstractTask_ACCESS_TAG(int,int,Task_DELETE_EXIST_ACCESSSPEC,Task_ADD_ACCESSSPEC,Task_ENABLE_ACCESSSPEC,SignalService),
AbstractTask_ACCESS_TAG(int,Task_DELETE_EXIST_ACCESSSPEC,Task_ADD_ACCESSSPEC,Task_ENABLE_ACCESSSPEC,SignalService,long,String)| Method Detail |
|---|
protected void addTagToCache(java.lang.String tagId)
tagId - The tag id (String) parameter.protected int getAccessOpId()
int) value.protected int getAccessSpecId()
int) value.protected abstract java.lang.String getOpSpecResultKey()
String) value.protected abstract java.lang.String getOpSpecResultParameterKey()
String) value.protected abstract int getOpSpecSuccessResultCode()
int) value.protected java.lang.String getOperationId()
String) value.
public void handleResponse(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
handleResponse in interface ITasksource - The source (SignalService) parameter.timestamp - The timestamp (Object) parameter.data - The data (Object) parameter.protected void initialize()
protected boolean isDuplicateTag(java.lang.String tagId)
tagId - The tag id (String) parameter.
boolean) value.public boolean launchTask()
launchTask in interface ITaskboolean) value.ITask.duplicateTask(ITask)protected void oneFailureOccurred()
protected void oneSuccessOccurred()
protected void processTag(java.util.Map paramMap,
java.lang.Object timestamp)
paramMap - The param map (Map) parameter.timestamp - The timestamp (Object) parameter.isDuplicateTag(String)
protected void reportAccess(java.util.Map tagReportData,
java.lang.Object timestamp,
java.lang.Integer resultCode)
tagReportData - The tag report data (Map) parameter.timestamp - The timestamp (Object) parameter.resultCode - The result code (Integer) parameter.public void reset()
reset in interface ITaskreset in class AbstractTaskprotected void taskFinished(int status)
status - The status (int) parameter.
public void taskNotice(java.lang.String taskName,
int status,
java.lang.Object result)
taskNotice in interface ITaskListenertaskName - The task name (String) parameter.status - The status (int) parameter.result - The result (Object) parameter.protected void timeOutOccurred()
timeOutOccurred in class AbstractTask
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||