Interface IHelpline
- 
- All Known Implementing Classes:
- HelplineAgent
 
 public interface IHelplineBasic interface for helpline. Allows to get local information about a person and add information about a person. The person's name for the service instance is annotated as a tag, derived from the component argument named 'person'.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>addInformation(java.lang.String info)Add new information about a person, e.g.IFuture<java.lang.Void>forwardInformation(InformationEntry entry)Forward existing information to this service, e.g.IFuture<java.util.Set<InformationEntry>>getInformation()Receive all locally stored information about a person.IIntermediateFuture<InformationEntry>searchInformation()Search for information about a person in the network (i.e.
 
- 
- 
- 
Method Detail- 
addInformationIFuture<java.lang.Void> addInformation(java.lang.String info) Add new information about a person, e.g. from GUI.- Parameters:
- info- The information text.
 
 - 
getInformationIFuture<java.util.Set<InformationEntry>> getInformation() Receive all locally stored information about a person.- Returns:
- Future that contains all currently known information in a set of records.
 
 - 
forwardInformationIFuture<java.lang.Void> forwardInformation(InformationEntry entry) Forward existing information to this service, e.g. from other helpline nodes (i.e. push).- Parameters:
- entry- The information record.
 
 - 
searchInformationIIntermediateFuture<InformationEntry> searchInformation() Search for information about a person in the network (i.e. pull). The information is stored locally.- Returns:
- All information that can currently be found.
 
 
- 
 
-