|
||||||||||
| 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.Client
public class Client
| Constructor Summary | |
|---|---|
Client()
|
|
| Method Summary | |
|---|---|
void |
activate()
This method is initially called when the micro-kernel registers the agent. |
AgentAddress |
getBroker()
This method allows the user to get the "broker" agent address in the G-Box property sheet |
protected void |
handleMessage(ACLMessage m)
|
void |
live()
This method defines the main behavior for threaded agents. |
void |
setBroker(AgentAddress add)
This method allows the user to set the "broker" agent with the G-Box property sheet |
| 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 Client()
| Method Detail |
|---|
public void setBroker(AgentAddress add)
public AgentAddress getBroker()
public void activate()
AbstractAgent
activate in class AbstractAgentpublic void live()
Agent
live in class Agentprotected void handleMessage(ACLMessage m)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||