|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface characterizing active objects.
The framework assumes a cyclical system. Within a cycle, active objects are released for execution by an external agent (perhaps a scheduler). Release of active objects may be time-triggered or sporadic.
The framework achieves independence from the scheduling policy by stipulating that an active object should implement method runOneCycle in a manner that makes no assumptions about the frequency with which the method is called or the relative orders in which this method is called on different objects.
Copyright: see the Copyright Notice.
| Method Summary | |
boolean |
initialize()
Initialize an active object before it is scheduled. |
void |
runOneCycle(int deadline)
Perform all actions associated to the current cycle. |
boolean |
terminate()
Perfrom any shutdown actions before an active is de-scheduled. |
| Method Detail |
public void runOneCycle(int deadline)
deadline - deadline by which the object must have returned. This
parameter allows implementation of cooperative scheduling.public boolean initialize()
public boolean terminate()
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||