|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITask
| Field Summary | |
|---|---|
static int |
ERROR
Define the error (int) constant. |
static int |
REPORT
Define the report (int) constant. |
static int |
SUCCESS
Define the success (int) constant. |
static int |
TIMEOUT
Define the timeout (int) constant. |
| Method Summary | |
|---|---|
void |
addTaskListener(ITaskListener listener)
Add task listener with the specified listener parameter. |
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)
Finished with the specified source, timestamp and data parameters and return the boolean result. |
boolean |
launchTask()
Launch task and return the boolean result. |
void |
notifyListener(java.lang.String taskName,
int status,
java.lang.Object result)
Notify listener with the specified finished and result parameters. |
void |
removeTaskListener(ITaskListener listener)
Remove task listener with the specified listener parameter. |
void |
reset()
Reset. |
| Field Detail |
|---|
static final int ERROR
static final int SUCCESS
static final int TIMEOUT
static final int REPORT
| Method Detail |
|---|
void addTaskListener(ITaskListener listener)
listener - The listener (ITaskListener) parameter.removeTaskListener(ITaskListener)boolean duplicateTask(ITask task)
task - The task (ITask) parameter.
boolean) value.launchTask()java.lang.String getTaskName()
String) value.
void handleResponse(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
source - The source (SignalService) parameter.timestamp - The timestamp (Object) parameter.data - The data (Object) parameter.boolean launchTask()
boolean) value.duplicateTask(ITask)
void notifyListener(java.lang.String taskName,
int status,
java.lang.Object result)
taskName - The task name (String) parameter.status - The status (int) parameter.result - The result (Object) parameter.addTaskListener(ITaskListener),
removeTaskListener(ITaskListener)void removeTaskListener(ITaskListener listener)
listener - The listener (ITaskListener) parameter.addTaskListener(ITaskListener)void reset()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||