jadex.micro.examples.remoteservice
Class UserAgent

java.lang.Object
  extended by jadex.micro.MicroAgent
      extended by jadex.micro.examples.remoteservice.UserAgent
All Implemented Interfaces:
IMicroAgent

public class UserAgent
extends MicroAgent

Agent that invokes methods on a remote service.


Nested Class Summary
 
Nested classes/interfaces inherited from class jadex.micro.MicroAgent
MicroAgent.TimerWrapper
 
Field Summary
 
Fields inherited from class jadex.micro.MicroAgent
interpreter, longtime, timers
 
Constructor Summary
UserAgent()
           
 
Method Summary
 void executeBody()
          Execute the functional body of the agent.
protected  void invokeAddService(java.lang.String info, IMathService service)
          Invoke some add methods for testing.
 
Methods inherited from class jadex.micro.MicroAgent
addService, agentCreated, agentKilled, createComponentIdentifier, createComponentIdentifier, createComponentIdentifier, createReply, createResultListener, createServiceContainer, getAgentAdapter, getAgentName, getArgument, getArguments, getComponentIdentifier, getConfiguration, getExternalAccess, getLogger, getParent, getServiceProvider, getTime, init, isAtBreakpoint, killAgent, messageArrived, removeService, scheduleStep, sendMessage, setResultValue, waitFor, waitForTick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAgent

public UserAgent()
Method Detail

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 void invokeAddService(java.lang.String info,
                                IMathService service)
Invoke some add methods for testing.



Copyright © 2010. All Rights Reserved.