jadex.micro.examples.remoteservice
Class UserAgent
java.lang.Object
jadex.micro.MicroAgent
jadex.micro.examples.remoteservice.UserAgent
- All Implemented Interfaces:
- IInternalAccess, IMicroAgent
public class UserAgent
- extends MicroAgent
Agent that invokes methods on a remote service.
| 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, isAtBreakpoint, 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 |
UserAgent
public UserAgent()
executeBody
public void executeBody()
- Execute the functional body of the agent.
Is only called once.
- Specified by:
executeBody in interface IMicroAgent- Overrides:
executeBody in class MicroAgent
invokeAddService
protected IFuture invokeAddService(String info,
IMathService service)
- Invoke some add methods for testing.
Copyright © 2010. All Rights Reserved.