|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAgentLogic<LOGIC_MODULE extends LogicModule>
Method Summary | |
---|---|
void |
beforeFirstLogic()
Method that is called only once before actual logic() is called. |
long |
getLogicInitializeTime()
Returns upper-estimation of IAgentLogic#initializeLogic() method running time in millis. |
long |
getLogicShutdownTime()
Returns upper-estimation of logicShutdown() method running time in millis. |
void |
logic()
Called to perform the logic of the agent. |
void |
logicInitialize(LOGIC_MODULE logicModule)
Called when the agent is started and just before the first logic() invocation. |
void |
logicShutdown()
Called whenever the LogicModule is stopping to end the logic. |
Method Detail |
---|
long getLogicInitializeTime()
IAgentLogic#initializeLogic()
method running time in millis.
void logicInitialize(LOGIC_MODULE logicModule)
logic()
invocation.
logicModule
- void beforeFirstLogic()
logic()
is called.
void logic()
LogicModule
or its descendant then
it is called periodically.
void logicShutdown()
LogicModule
is stopping to end the logic.
long getLogicShutdownTime()
logicShutdown()
method running time in millis.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |