|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jiac.micro.core.feature.AbstractSchedulable
de.jiac.micro.core.feature.AbstractSporadicRunnable
de.jiac.micro.agent.AbstractReactiveBehaviour
public abstract class AbstractReactiveBehaviour
Describes an abstract reactive behaviour of an agent. It is triggered sporadically according to the specified filter types.
| Constructor Summary | |
|---|---|
protected |
AbstractReactiveBehaviour()
|
| Method Summary | |
|---|---|
void |
cleanup()
This method is invoked once immediately before the current instance is disposed. |
void |
initialise()
This method is invoked after the current instance is fully configured. |
void |
start()
Default implementation just enables the current behaviour. |
void |
stop()
Default implementation just disables the current behaviour. |
| Methods inherited from class de.jiac.micro.core.feature.AbstractSporadicRunnable |
|---|
filterDataTypes, getMinimumInterarrival, runShort, setMinimumInterarrival |
| Methods inherited from class de.jiac.micro.core.feature.AbstractSchedulable |
|---|
disable, enable, getCost, getCostOverrunHandler, getDeadline, getDeadlineMissHandler, getPriority, isEnabled, setCost, setCostOverrunHandler, setDeadline, setDeadlineMissHandler, setPriority |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractReactiveBehaviour()
| Method Detail |
|---|
public void cleanup()
ILifecycleAwareILifecycleAware.initialise() is released!
cleanup in interface ILifecycleAwarepublic void initialise()
ILifecycleAwareIf the current instance is also a handle provider, the handle must be available after this method completes!
initialise in interface ILifecycleAwarepublic void start()
enables the current behaviour.
start in interface ILifecycleAwarepublic void stop()
disables the current behaviour.
stop in interface ILifecycleAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||