Class HelplineAgent

java.lang.Object
jadex.micro.helpline.HelplineAgent

public class HelplineAgent extends Object
Helpline micro agent.
  • Field Details

    • agent

      protected jadex.core.IComponent agent
      The agent.
    • infos

      protected jadex.collection.MultiCollection<String,InformationEntry> infos
      The map of information.
  • Constructor Details

  • Method Details

    • agentCreated

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

      public void addInformation(String name, String info)
      Add an information about a person.
      Parameters:
      name - The person's name.
      info - The information.
    • getInformation

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

      public jadex.core.IComponent getAgent()
      Get the agent.
      Returns:
      The agent