|
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.AbstractLLRPTask
public abstract class AbstractLLRPTask
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask |
|---|
ERROR, REPORT, SUCCESS, TIMEOUT |
| Constructor Summary | |
|---|---|
protected |
AbstractLLRPTask(CommandService command,
java.util.Map parameters,
SignalService signal)
Constructs an instance of this class from the specified command, parameters and signal parameters. |
protected |
AbstractLLRPTask(CommandService command,
java.util.Map parameters,
SignalService signal,
long timeoutValue)
Constructs an instance of this class from the specified command, parameters and signal parameters. |
| Method Summary | |
|---|---|
CommandService |
getCommand()
Gets the command (CommandService) value. |
int |
getErrorCode()
Gets the error code (int) value. |
java.util.Map |
getErrorFields()
Gets the error fields (Map) value. |
java.util.Map |
getParameters()
Gets the parameters (Map) value. |
SignalService |
getSignal()
Gets the signal (SignalService) value. |
protected abstract boolean |
isSameTaskType(ITask task)
Is same task type with the specified task parameter and return the boolean result. |
boolean |
launchTask()
Launch task and return the boolean result. |
protected boolean |
matchResponse(java.lang.Object data)
Match response with the specified data parameter and return the boolean result. |
void |
setCommand(CommandService command)
Sets the command value. |
void |
setParameters(java.util.Map parameters)
Sets the parameters value. |
void |
setSignal(SignalService signal)
Sets the signal value. |
protected boolean |
successInLLRPStatus(java.util.Map data)
Success in llrpstatus with the specified data parameter and return the boolean result. |
| Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask |
|---|
addTaskListener, getState, getTaskListeners, isRemoveListenerRequired, notifyListener, removeTaskListener, removeTaskListenerNoThread, reset, setState, setTaskListeners, startTimer, stopTimer, timeOutOccurred |
| 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, handleResponse |
| Constructor Detail |
|---|
protected AbstractLLRPTask(CommandService command,
java.util.Map parameters,
SignalService signal)
command - The command (CommandService) parameter.parameters - The parameters (Map) parameter.signal - The signal (SignalService) parameter.AbstractLLRPTask(CommandService,Map,SignalService,long)
protected AbstractLLRPTask(CommandService command,
java.util.Map parameters,
SignalService signal,
long timeoutValue)
command - The command (CommandService) parameter.parameters - The parameters (Map) parameter.signal - The signal (SignalService) parameter.timeoutValue - The timeout value (long) parameter.AbstractLLRPTask(CommandService,Map,SignalService)| Method Detail |
|---|
public CommandService getCommand()
CommandService) value.setCommand(CommandService)public int getErrorCode()
int) value.public java.util.Map getErrorFields()
Map) value.public java.util.Map getParameters()
Map) value.setParameters(Map)public SignalService getSignal()
SignalService) value.setSignal(SignalService)protected abstract boolean isSameTaskType(ITask task)
task - The task (ITask) parameter.
boolean) value.public boolean launchTask()
boolean) value.AbstractLLRPTask(CommandService,Map,SignalService),
AbstractLLRPTask(CommandService,Map,SignalService,long)protected boolean matchResponse(java.lang.Object data)
data - The data (Object) parameter.
boolean) value.public void setCommand(CommandService command)
command - The command (CommandService) parameter.getCommand()public void setParameters(java.util.Map parameters)
parameters - The parameters (Map) parameter.getParameters()public void setSignal(SignalService signal)
signal - The signal (SignalService) parameter.getSignal()protected boolean successInLLRPStatus(java.util.Map data)
data - The data (Map) parameter.
boolean) value.
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||