|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for EventTeamHandle call backs. Interest in
team events is registered by using an EventTeamHandle
. When
an event occurs in the team, the EventTeamHandles are
notified, and if the event matches their interest filter,
the associated TeamEventHandler
is invoked.
The same TeamEventHandler may be registered with more than one EventTeamHandle.
TeamEvent
,
EventTeamHandle
Method Summary | |
void |
event(EventTeamHandle eth,
TeamReservation tr,
TeamEvent ev)
Callback for handling events related to teams. |
Method Detail |
public void event(EventTeamHandle eth, TeamReservation tr, TeamEvent ev)
NOTE: 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.
eth
- 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.
|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |