|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
marketorg.Broker
public class Broker
| Constructor Summary | |
|---|---|
Broker()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
activate()
This method is initially called when the micro-kernel registers the agent. |
void |
enterPause()
|
void |
handleMessage(ACLMessage 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. |
protected void |
receiveBid(ACLMessage m)
|
| 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 Broker()
| Method Detail |
|---|
public void enterPause()
public void initGUI()
AbstractAgent
initGUI in class AbstractAgentpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void activate()
AbstractAgent
activate in class AbstractAgentpublic void handleMessage(ACLMessage m)
public void live()
Agent
live in class Agentprotected void receiveBid(ACLMessage m)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||