public interface ScheduleListener
NamedObj
Red (johane) |
Red (johane) |
Modifier and Type | Field and Description |
---|---|
static int |
RESET_DISPLAY
Reset display message.
|
static int |
TASK_BLOCKED
Task blocked message.
|
static int |
TASK_RUNNING
Task running message.
|
static int |
TASK_SLEEPING
Task sleeping message.
|
Modifier and Type | Method and Description |
---|---|
void |
event(java.lang.String actorName,
double time,
int scheduleEvent)
React to the given scheduling event.
|
static final int RESET_DISPLAY
static final int TASK_SLEEPING
static final int TASK_BLOCKED
static final int TASK_RUNNING
void event(java.lang.String actorName, double time, int scheduleEvent)
actorName
- The name of the actor involved in the event.time
- The time of the event.scheduleEvent
- One of RESET_DISPLAY
,
TASK_SLEEPING
, TASK_BLOCKED
or TASK_RUNNING
.