Package jadex.micro.examples.helpline
Class HelplineService
- java.lang.Object
- 
- jadex.micro.examples.helpline.HelplineService
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected HelplineAgentagentThe agent.
 - 
Constructor SummaryConstructors Constructor Description HelplineService()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInformation(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.java.lang.StringtoString()Get the string representation.
 
- 
- 
- 
Field Detail- 
agentprotected HelplineAgent agent The agent.
 
- 
 - 
Method Detail- 
addInformationpublic void addInformation(java.lang.String name, java.lang.String info)Add an information about a person.- Specified by:
- addInformationin interface- IHelpline
- Parameters:
- name- The person's name.
- info- The information.
 
 - 
getInformationpublic IIntermediateFuture<InformationEntry> getInformation(java.lang.String name) Get all locally stored information about a person.- Specified by:
- getInformationin interface- IHelpline
- Parameters:
- name- The person's name.
- Returns:
- Future that contains the information.
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- The string representation.
 
 
- 
 
-