public interface TaskEventManager
TaskEventManager task = manager.createRasterTask(this);
You can send events to the task
task.sendEvent(new CancelEvent(this));
If you want recover a registered task to send it a event you'll have
to use the RasterManager again. To get the task it will use the current
thread ID.
TaskEventManager task = manager.getRasterTask()
Modifier and Type | Method and Description |
---|---|
EventObject |
getEvent()
Obtiene el evento
|
void |
manageEvent(EventObject ev)
Gestión de las señales.
|
void |
removeTask()
Removes this task from the repository
|
void |
setEvent(EventObject ev)
Sets a event.
|
void removeTask()
void setEvent(EventObject ev)
ev
- EventObjectEventObject getEvent()
void manageEvent(EventObject ev) throws ProcessInterruptedException
ev
- Evento a gestionarProcessInterruptedException