2009-10-01 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager
Interface ITaskManager

All Superinterfaces:
ITask
All Known Implementing Classes:
TaskManager

public interface ITaskManager
extends ITask

Since:
1.0
Version:
1.2.0

Field Summary
static int STANDBY
          Define the standby (int) constant.
static int STOPPED
          Define the stopped (int) constant.
static int TOPTASKRUNNING
          Define the toptaskrunning (int) constant.
 
Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask
ABORT, ERROR, REPORT, STATE_RUNNING, STATE_STANDBY, SUCCESS, TIMEOUT
 
Method Summary
 void addTask(ITask task)
          Add task to bottom with the specified task and check dup parameters.
 void clearTasksByOwner(java.lang.Object taskOwner)
          Clear tasks by owner with the specified task owner parameter.
 void handleResponse(SignalService source, java.lang.Object timestamp, java.lang.Object data)
          Handle response with the specified source, timestamp and data parameters.
 void removeTask(ITask task)
          Remove task with the specified task parameter.
 
Methods inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask
abort, addTaskListener, duplicateTask, getTaskManager, getTaskName, getTaskOwner, isResponseExpected, launchTask, notifyListener, removeTaskListener, reset, setTaskManager, setTaskOwner, start, start
 

Field Detail

STOPPED

static final int STOPPED
Define the stopped (int) constant.

See Also:
Constant Field Values

STANDBY

static final int STANDBY
Define the standby (int) constant.

See Also:
Constant Field Values

TOPTASKRUNNING

static final int TOPTASKRUNNING
Define the toptaskrunning (int) constant.

See Also:
Constant Field Values
Method Detail

addTask

void addTask(ITask task)
Add task to bottom with the specified task and check dup parameters.

Parameters:
task - The task (ITask) parameter.
See Also:
removeTask(ITask)

clearTasksByOwner

void clearTasksByOwner(java.lang.Object taskOwner)
Clear tasks by owner with the specified task owner parameter.

Parameters:
taskOwner - The task owner (Object) parameter.

handleResponse

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 time stamp (Object) parameter.
data - The data (Object) parameter.

removeTask

void removeTask(ITask task)
Remove task with the specified task parameter.

Parameters:
task - The task (ITask) parameter.
See Also:
addTask(ITask)

2009-10-01 1.2.0

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