|
Oracle Java Wireless Client | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskManagerListener
A listener interface for processing task status updates.
Method Summary | |
void |
notifyStatusUpdate(TaskInfo task,
int newStatus)
Notifies a listener about a tasks new status |
void |
notifyTaskStopped(TaskInfo task,
int exitCode)
Notifies a listener when a task finishes its execution |
Method Detail |
void notifyStatusUpdate(TaskInfo task, int newStatus)
task
- updated tasknewStatus
- one of the follwoing constans:
TaskInfo.STARTING
, TaskInfo.RUNNING
,
TaskInfo.PAUSED
, TaskInfo.DESTROYED
void notifyTaskStopped(TaskInfo task, int exitCode)
task
- finished taskexitCode
- task exit code, one of the follwoing constans:
TaskInfo.EXIT_REGULAR
, TaskInfo.EXIT_FATAL_ERROR
,
TaskInfo.EXIT_TERMINATED
|
Oracle Java Wireless Client | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |