Package jadex.micro.helpline
Class HelplineService
java.lang.Object
jadex.micro.helpline.HelplineService
- All Implemented Interfaces:
IHelpline
Helpline service implementation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInformation
(String name, String info) Add an information about a person.jadex.future.IIntermediateFuture
<InformationEntry> getInformation
(String name) Get all locally stored information about a person.toString()
Get the string representation.
-
Field Details
-
agent
The agent.
-
-
Constructor Details
-
HelplineService
public HelplineService()
-
-
Method Details
-
addInformation
Add an information about a person.- Specified by:
addInformation
in interfaceIHelpline
- Parameters:
name
- The person's name.info
- The information.
-
getInformation
Get all locally stored information about a person.- Specified by:
getInformation
in interfaceIHelpline
- Parameters:
name
- The person's name.- Returns:
- Future that contains the information.
-
toString
Get the string representation.
-