test.jadex
Class WorkAgent

java.lang.Object
  extended by jadex.micro.MicroAgent
      extended by test.jadex.WorkAgent
All Implemented Interfaces:
jadex.bridge.IInternalAccess, jadex.micro.IMicroAgent

public class WorkAgent
extends jadex.micro.MicroAgent

Answer ping requests.


Nested Class Summary
 
Nested classes/interfaces inherited from class jadex.micro.MicroAgent
jadex.micro.MicroAgent.TimerWrapper
 
Field Summary
 
Fields inherited from class jadex.micro.MicroAgent
interpreter, longtime, timers
 
Constructor Summary
WorkAgent()
           
 
Method Summary
 void messageArrived(java.util.Map msg, jadex.bridge.MessageType mt)
          Send a reply to the sender.
 
Methods inherited from class jadex.micro.MicroAgent
addComponentListener, addDirectService, addService, agentCreated, agentKilled, createComponentIdentifier, createComponentIdentifier, createComponentIdentifier, createReply, createResultListener, createServiceContainer, executeBody, getAgentAdapter, getAgentName, getArgument, getArguments, getChildren, getComponentIdentifier, getConfiguration, getExternalAccess, getLogger, getModel, getParent, getServiceProvider, getTime, init, isAtBreakpoint, killAgent, killComponent, 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
 

Constructor Detail

WorkAgent

public WorkAgent()
Method Detail

messageArrived

public void messageArrived(java.util.Map msg,
                           jadex.bridge.MessageType mt)
Send a reply to the sender.

Specified by:
messageArrived in interface jadex.micro.IMicroAgent
Overrides:
messageArrived in class jadex.micro.MicroAgent
Parameters:
msg - The message.
mt - The message type.