Class HelplineService

java.lang.Object
jadex.micro.helpline.HelplineService
All Implemented Interfaces:
IHelpline

public class HelplineService extends Object implements IHelpline
Helpline service implementation.
  • Field Details

  • Constructor Details

    • HelplineService

      public HelplineService()
  • Method Details

    • addInformation

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

      public jadex.future.IIntermediateFuture<InformationEntry> getInformation(String name)
      Get all locally stored information about a person.
      Specified by:
      getInformation in interface IHelpline
      Parameters:
      name - The person's name.
      Returns:
      Future that contains the information.
    • toString

      public String toString()
      Get the string representation.
      Overrides:
      toString in class Object
      Returns:
      The string representation.