Modifier and Type | Field and Description |
---|---|
protected HelplineAgent |
agent
The agent.
|
Constructor and Description |
---|
HelplineService() |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(java.lang.String name,
java.lang.String info)
Add an information about a person.
|
jadex.commons.future.IIntermediateFuture<InformationEntry> |
getInformation(java.lang.String name)
Get all locally stored information about a person.
|
java.lang.String |
toString()
Get the string representation.
|
protected HelplineAgent agent
public void addInformation(java.lang.String name, java.lang.String info)
addInformation
in interface IHelpline
name
- The person's name.info
- The information.public jadex.commons.future.IIntermediateFuture<InformationEntry> getInformation(java.lang.String name)
getInformation
in interface IHelpline
name
- The person's name.public java.lang.String toString()
toString
in class java.lang.Object