Package jadex.micro.examples.helpline
Interface IHelpline
-
- All Known Implementing Classes:
HelplineService
public interface IHelpline
Basic interface for helpline. Allows to get local information about a person and add information about a person.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addInformation(java.lang.String name, java.lang.String info)
Add an information about a person.IIntermediateFuture<InformationEntry>
getInformation(java.lang.String name)
Get all locally stored information about a person.
-
-
-
Method Detail
-
getInformation
IIntermediateFuture<InformationEntry> getInformation(java.lang.String name)
Get all locally stored information about a person.- Parameters:
name
- The person's name.- Returns:
- Future that contains all information records as collection.
-
addInformation
void addInformation(java.lang.String name, java.lang.String info)
Add an information about a person.- Parameters:
name
- The person's name.info
- The information.
-
-