Package jadex.micro.helpline
Class HelplineAgent
java.lang.Object
jadex.micro.helpline.HelplineAgent
Helpline micro agent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.core.IComponent
The agent.protected jadex.collection.MultiCollection
<String, InformationEntry> The map of information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInformation
(String name, String info) Add an information about a person.jadex.future.IFuture
<Void> Called once after agent creation.jadex.core.IComponent
getAgent()
Get the agent.getInformation
(String name) Get all locally stored information about a person.
-
Field Details
-
agent
protected jadex.core.IComponent agentThe agent. -
infos
The map of information.
-
-
Constructor Details
-
HelplineAgent
-
HelplineAgent
-
-
Method Details
-
agentCreated
Called once after agent creation. -
addInformation
Add an information about a person.- Parameters:
name
- The person's name.info
- The information.
-
getInformation
Get all locally stored information about a person.- Parameters:
name
- The person's name.- Returns:
- Future that contains the information.
-
getAgent
public jadex.core.IComponent getAgent()Get the agent.- Returns:
- The agent
-