Package com.techcognita.javachatx.agent
Class BaseAgent
java.lang.Object
com.techcognita.javachatx.agent.BaseAgent
- All Implemented Interfaces:
Agent
- Direct Known Subclasses:
EchoAgent
Base implementation of the Agent interface.
Provides common functionality for all agents in the JavaChatX framework.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
name
-
configuration
protected com.google.gson.JsonObject configuration
-
-
Constructor Details
-
BaseAgent
-
-
Method Details
-
getId
Description copied from interface:AgentGet the unique identifier for this agent. -
getName
Description copied from interface:AgentGet the name of this agent. -
configure
public void configure(com.google.gson.JsonObject configuration) Description copied from interface:AgentConfigure the agent with specific settings. -
toString
-