jadex.micro.examples
Class DynamicServiceAgent

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

public class DynamicServiceAgent
extends MicroAgent

An agent that dynamically adds services at runtime.


Nested Class Summary
 class DynamicServiceAgent.DummyService
           
static interface DynamicServiceAgent.IDummyService
           
 
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
DynamicServiceAgent()
           
 
Method Summary
 void executeBody()
          Perform the agents actions.
 
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

DynamicServiceAgent

public DynamicServiceAgent()
Method Detail

executeBody

public void executeBody()
Perform the agents actions.

Specified by:
executeBody in interface IMicroAgent
Overrides:
executeBody in class MicroAgent


Copyright © 2010. All Rights Reserved.