2008-02-07 1.1.0

org.eclipse.soda.dk.epcglobal.llrp.helper.task
Class Task_INCREMENT_WRITE

java.lang.Object
  extended by EscObject
      extended by org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
          extended by org.eclipse.soda.dk.epcglobal.llrp.helper.task.Task_INCREMENT_WRITE
All Implemented Interfaces:
ITask, ITaskListener

public class Task_INCREMENT_WRITE
extends AbstractTask
implements ITaskListener

Version:
1.1.0

Field Summary
static java.lang.String TASKNAME
          Define the taskname (String) constant.
 
Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask
ERROR, REPORT, SUCCESS, TIMEOUT
 
Constructor Summary
Task_INCREMENT_WRITE(int writeOpId, int memoryBank, int wordPointer, int password, java.lang.String baseWriteData, int increment, int repeat, long timeout, Task_DELETE_EXIST_ACCESSSPEC deleteExistAccessSpecTask, Task_ADD_ACCESSSPEC addAccessSpecTask, Task_ENABLE_ACCESSSPEC enableAccessSpecTask, SignalService rOAccessReport, java.lang.String operationId)
          Constructs an instance of this class from the specified write op id, memory bank, word pointer, password, base write data, increment, repeat, timeout, delete exist access spec task, add access spec task, enable access spec task, r oaccess report and operation id parameters.
 
Method Summary
 boolean duplicateTask(ITask task)
          Duplicate task with the specified task parameter and return the boolean result.
 java.lang.String getTaskName()
          Gets the task name (String) value.
 void handleResponse(SignalService source, java.lang.Object timestamp, java.lang.Object data)
          Handle response with the specified source, timestamp and data parameters.
 boolean launchTask()
          Launch task and return the boolean result.
 void taskNotice(java.lang.String taskName, int status, java.lang.Object result)
          Task notice with the specified task name, status and result parameters.
 
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
 

Field Detail

TASKNAME

public static final java.lang.String TASKNAME
Define the taskname (String) constant.

See Also:
Constant Field Values
Constructor Detail

Task_INCREMENT_WRITE

public Task_INCREMENT_WRITE(int writeOpId,
                            int memoryBank,
                            int wordPointer,
                            int password,
                            java.lang.String baseWriteData,
                            int increment,
                            int repeat,
                            long timeout,
                            Task_DELETE_EXIST_ACCESSSPEC deleteExistAccessSpecTask,
                            Task_ADD_ACCESSSPEC addAccessSpecTask,
                            Task_ENABLE_ACCESSSPEC enableAccessSpecTask,
                            SignalService rOAccessReport,
                            java.lang.String operationId)
Constructs an instance of this class from the specified write op id, memory bank, word pointer, password, base write data, increment, repeat, timeout, delete exist access spec task, add access spec task, enable access spec task, r oaccess report and operation id parameters.

Parameters:
writeOpId - The write op id (int) parameter.
memoryBank - The memory bank (int) parameter.
wordPointer - The word pointer (int) parameter.
password - The password (int) parameter.
baseWriteData - The base write data (String) parameter.
increment - The increment (int) parameter.
repeat - The repeat (int) parameter.
timeout - The timeout (long) parameter.
deleteExistAccessSpecTask - The delete exist access spec task (Task_DELETE_EXIST_ACCESSSPEC) parameter.
addAccessSpecTask - The add access spec task (Task_ADD_ACCESSSPEC) parameter.
enableAccessSpecTask - The enable access spec task (Task_ENABLE_ACCESSSPEC) parameter.
rOAccessReport - The r oaccess report (SignalService) parameter.
operationId - The operation id (String) parameter.
Method Detail

duplicateTask

public boolean duplicateTask(ITask task)
Duplicate task with the specified task parameter and return the boolean result.

Specified by:
duplicateTask in interface ITask
Parameters:
task - The task (ITask) parameter.
Returns:
Results of the duplicate task (boolean) value.
See Also:
launchTask()

getTaskName

public java.lang.String getTaskName()
Gets the task name (String) value.

Specified by:
getTaskName in interface ITask
Returns:
The task name (String) value.

handleResponse

public void handleResponse(SignalService source,
                           java.lang.Object timestamp,
                           java.lang.Object data)
Handle response with the specified source, timestamp and data parameters.

Specified by:
handleResponse in interface ITask
Parameters:
source - The source (SignalService) parameter.
timestamp - The timestamp (Object) parameter.
data - The data (Object) parameter.

launchTask

public boolean launchTask()
Launch task and return the boolean result.

Specified by:
launchTask in interface ITask
Returns:
Results of the launch task (boolean) value.
See Also:
duplicateTask(ITask)

taskNotice

public void taskNotice(java.lang.String taskName,
                       int status,
                       java.lang.Object result)
Task notice with the specified task name, status and result parameters.

Specified by:
taskNotice in interface ITaskListener
Parameters:
taskName - The task name (String) parameter.
status - The status (int) parameter.
result - The result (Object) parameter.

2008-02-07 1.1.0

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