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 |
---|---|
EventObject |
getEvent()
Obtiene el evento
|
String |
getID()
Obtiene el identificador único del proceso.
|
void |
manageEvent(EventObject ev)
Gestión de las señales.
|
void |
setEvent(EventObject ev)
Asigna el evento
|
void setEvent(EventObject ev)
ev
- EventObjectEventObject getEvent()
String getID()
void manageEvent(EventObject ev) throws InterruptedException
ev
- Evento a gestionarInterruptedException