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 TypeMethodDescriptionvoidaddInformation(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:
addInformationin interfaceIHelpline- Parameters:
name- The person's name.info- The information.
-
getInformation
Get all locally stored information about a person.- Specified by:
getInformationin interfaceIHelpline- Parameters:
name- The person's name.- Returns:
- Future that contains the information.
-
toString
Get the string representation.
-