|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.micro.MicroAgent
jadex.micro.examples.CountingAgent
public class CountingAgent
An agent that is counting to infinity. Used to demonstrate "semantic" breakpoints.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jadex.micro.MicroAgent |
|---|
MicroAgent.TimerWrapper |
| Field Summary | |
|---|---|
protected int |
cnt
The counter. |
| Fields inherited from class jadex.micro.MicroAgent |
|---|
interpreter, longtime, timers |
| Constructor Summary | |
|---|---|
CountingAgent()
|
|
| Method Summary | |
|---|---|
void |
executeBody()
Execute a series of steps. |
static java.lang.Object |
getMetaInfo()
Add the 'testresults' marking this agent as a testcase. |
boolean |
isAtBreakpoint(java.lang.String[] breakpoints)
Return true, when a breakpoint was hit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int cnt
| Constructor Detail |
|---|
public CountingAgent()
| Method Detail |
|---|
public void executeBody()
executeBody in interface IMicroAgentexecuteBody in class MicroAgentpublic boolean isAtBreakpoint(java.lang.String[] breakpoints)
isAtBreakpoint in class MicroAgentpublic static java.lang.Object getMetaInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||