Class HelplineAgent


  • public class HelplineAgent
    extends java.lang.Object
    Helpline micro agent.
    • Constructor Detail

      • HelplineAgent

        public HelplineAgent()
    • Method Detail

      • agentCreated

        public IFuture<java.lang.Void> agentCreated()
        Called once after agent creation.
      • addInformation

        public 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.
      • getInformation

        public java.util.Collection<InformationEntry> getInformation​(java.lang.String name)
        Get all locally stored information about a person.
        Parameters:
        name - The person's name.
        Returns:
        Future that contains the information.
      • getAgent

        public IInternalAccess getAgent()
        Get the agent.
        Returns:
        The agent