|
JanosVM v1.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.utah.janosvm.kit.isolate.IsolateEventHandler
| Field Summary | |
private Isolate |
isolate
The Isolate object paired with this object. |
| Constructor Summary | |
IsolateEventHandler(Isolate isolate)
Construct a listener for the given Isolate object. |
|
| Method Summary | |
void |
event(EventTeamHandle eth,
TeamReservation tr,
TeamEvent ev)
Callback for handling events related to teams. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0 |
| Field Detail |
private Isolate isolate
| Constructor Detail |
public IsolateEventHandler(Isolate isolate)
isolate - The Isolate object to pair with this object.| Method Detail |
public void event(EventTeamHandle eth,
TeamReservation tr,
TeamEvent ev)
TeamEventHandlerNOTE: This is called in the context of the kernel so you must use the provided TeamReservation if you want to do anything in the team that caused the Event. The TeamEvent object is allocated in the kernel Team context.
NOTE: Do not modify the TeamEvent that is passed. You will confuse later receivers of the (same) event object. Do not store the TeamEvent object, as it will be modified for subsequent events.
event in interface TeamEventHandleredu.utah.janosvm.sys.TeamEventHandlereth - The handle that refers to the team that triggered the event.tr - A TeamReservation thats reserved the team that `this' is in.ev - The TeamEvent object that describes the event that occurred.public java.lang.String toString()
toString in class java.lang.Object
|
JanosVM v1.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||