Class ChatService

java.lang.Object
jadex.micro.tutorial.a1.ChatService
All Implemented Interfaces:
IChatService

public class ChatService extends Object implements IChatService
Chat service implementation.
  • Field Details

    • agent

      protected jadex.micro.MicroAgent agent
      The agent.
  • Constructor Details

    • ChatService

      public ChatService()
  • Method Details

    • message

      public void message(String sender, String text)
      Receives a chat message.
      Specified by:
      message in interface IChatService
      Parameters:
      sender - The sender's name.
      text - The message text.