public interface Task
Task
object. A process should be
registered when this starts and removed from the register when this finishes or
is canceled. This process has to do these actions.Modifier and Type | Method and Description |
---|---|
java.util.EventObject |
getEvent()
Obtiene el evento
|
java.lang.String |
getID()
Obtiene el identificador único del proceso.
|
void |
manageEvent(java.util.EventObject ev)
Gestión de las señales.
|
void |
setEvent(java.util.EventObject ev)
Asigna el evento
|
void setEvent(java.util.EventObject ev)
ev
- EventObjectjava.util.EventObject getEvent()
java.lang.String getID()
void manageEvent(java.util.EventObject ev) throws java.lang.InterruptedException
ev
- Evento a gestionarjava.lang.InterruptedException