|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
madkit.utils.agents.AbstractEditorAgent
madkit.system.MinimalChatAgent
public class MinimalChatAgent
Field Summary |
---|
Fields inherited from class madkit.utils.agents.AbstractEditorAgent |
---|
display |
Constructor Summary | |
---|---|
MinimalChatAgent()
|
Method Summary | |
---|---|
void |
activate()
This method is initially called when the micro-kernel registers the agent. |
java.lang.String |
getChatter()
|
void |
handleMessage(Message m)
|
void |
initGUI()
This method is called by the specific external graphic system (as the G-Box) to ask the agent to prepare a graphical interface. |
void |
live()
This method defines the main behavior for threaded agents. |
void |
sendChatMessage(java.lang.String s)
|
void |
setChatter(java.lang.String s)
|
Methods inherited from class madkit.utils.agents.AbstractEditorAgent |
---|
getRecipient, println, setRecipient |
Methods inherited from class madkit.kernel.Agent |
---|
connectAgencyToAgency, createPlace, createPlace, enableMobility, enableMobility, exitImmediatlyOnKill, getAgencyNamed, joinPlace, joinPlace, joinPlace, pause, receiveMessage, run, waitNextMessage, waitNextMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinimalChatAgent()
Method Detail |
---|
public void setChatter(java.lang.String s)
public java.lang.String getChatter()
public void initGUI()
AbstractAgent
initGUI
in class AbstractAgent
public void activate()
AbstractAgent
activate
in class AbstractAgent
public void handleMessage(Message m)
public void live()
Agent
live
in class Agent
public void sendChatMessage(java.lang.String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |