Class JavaChatX

java.lang.Object
com.techcognita.javachatx.JavaChatX

public class JavaChatX extends Object
Main coordinator class for the JavaChatX framework. Brings together all components and provides a unified interface.
  • Constructor Details

    • JavaChatX

      public JavaChatX()
  • Method Details

    • initialize

      public void initialize()
      Initialize the JavaChatX framework with default components.
    • processMessage

      public com.google.gson.JsonObject processMessage(com.google.gson.JsonObject message)
      Process a message through the framework.
      Parameters:
      message - The message to process as a JSON object
      Returns:
      The response as a JSON object
    • getChatEngine

      public ChatEngine getChatEngine()
      Get the chat engine component.
      Returns:
      The chat engine
    • getContextManager

      public ContextManager getContextManager()
      Get the context manager component.
      Returns:
      The context manager
    • getPluginManager

      public PluginManager getPluginManager()
      Get the plugin manager component.
      Returns:
      The plugin manager
    • isInitialized

      public boolean isInitialized()
      Check if the framework is initialized.
      Returns:
      true if initialized, false otherwise