|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScheduleListener
Interface for listeners that receive schedule messages.
NamedObj
Red (johane) |
Red (johane) |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
void |
event(java.lang.String actorName,
double time,
int scheduleEvent)
React to the given scheduling event. |
Field Detail |
---|
static final int RESET_DISPLAY
static final int TASK_SLEEPING
static final int TASK_BLOCKED
static final int TASK_RUNNING
Method Detail |
---|
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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |