jadex.micro.examples.helpline
Class HelplineAgent
java.lang.Object
jadex.micro.MicroAgent
jadex.micro.examples.helpline.HelplineAgent
- All Implemented Interfaces:
- IInternalAccess, IMicroAgent
public class HelplineAgent
- extends MicroAgent
Helpline micro agent.
| Methods inherited from class jadex.micro.MicroAgent |
addComponentListener, addDirectService, addService, 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, 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 |
infos
protected MultiCollection infos
- The map of information.
HelplineAgent
public HelplineAgent()
agentCreated
public void agentCreated()
- Called once after agent creation.
- Specified by:
agentCreated in interface IMicroAgent- Overrides:
agentCreated in class MicroAgent
addInformation
public void addInformation(String name,
String info)
- Add an information about a person.
- Parameters:
name - The person's name.info - The information.
getInformation
public Collection getInformation(String name)
- Get all locally stored information about a person.
- Parameters:
name - The person's name.
- Returns:
- Future that contains the information.
getMetaInfo
public static MicroAgentMetaInfo getMetaInfo()
- Get the meta information about the agent.
Copyright © 2010. All Rights Reserved.