Class EchoChatAgent


  • public class EchoChatAgent
    extends java.lang.Object
    This agent implements a chat bot that simply echoes any privately sent message. It connects itself to the platform chat service.
    • Constructor Summary

      Constructors 
      Constructor Description
      EchoChatAgent()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Main for testing.
      void start()
      Register to inner chat at startup.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • chat

        protected IChatGuiService chat
        The gui service for controlling the inner chat component. $config is replaced by "intern" or "extern"
    • Constructor Detail

      • EchoChatAgent

        public EchoChatAgent()
    • Method Detail

      • start

        public void start()
        Register to inner chat at startup.
      • main

        public static void main​(java.lang.String[] args)
        Main for testing.