jadex.micro.examples
Class BreakpointAgent
java.lang.Object
jadex.micro.MicroAgent
jadex.micro.examples.BreakpointAgent
- All Implemented Interfaces:
- IInternalAccess, IMicroAgent
public class BreakpointAgent
- extends MicroAgent
A simple agent showing how to use breakpoints in the micro kernel.
|
Field Summary |
protected String |
step
The current step. |
| Methods inherited from class jadex.micro.MicroAgent |
addComponentListener, addDirectService, addService, agentCreated, agentKilled, createComponentIdentifier, createComponentIdentifier, createComponentIdentifier, createReply, createResultListener, createServiceContainer, getAgentAdapter, getAgentName, getArgument, getArguments, getChildren, getComponentIdentifier, getConfiguration, getExternalAccess, getLogger, getModel, getParent, getServiceProvider, getTime, init, killAgent, killComponent, messageArrived, removeComponentListener, removeService, scheduleStep, sendMessage, setResultValue, waitFor, waitForTick |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
step
protected String step
- The current step.
BreakpointAgent
public BreakpointAgent()
executeBody
public void executeBody()
- Execute a series of steps.
- Specified by:
executeBody in interface IMicroAgent- Overrides:
executeBody in class MicroAgent
isAtBreakpoint
public boolean isAtBreakpoint(String[] breakpoints)
- Return true, when a breakpoint was hit.
- Overrides:
isAtBreakpoint in class MicroAgent
getMetaInfo
public static Object getMetaInfo()
- Add the 'testresults' marking this agent as a testcase.
Copyright © 2010. All Rights Reserved.