|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjade.core.Agent
jade.gui.GuiAgent
it.unimo.dbgroup.momis.agent.BasicGui
BasicGUI class: this class defines the basic fields and methods every agent with a GUI posseses
| Nested Class Summary |
| Nested classes inherited from class jade.gui.GuiAgent |
|
| Nested classes inherited from class jade.core.Agent |
|
| Field Summary | |
private jade.domain.FIPAAgentManagement.DFAgentDescription |
_dfd
|
private jade.core.ContainerID |
bornIn
variable to store the Container where the agent was born |
| Fields inherited from class jade.gui.GuiAgent |
|
| Fields inherited from class jade.core.Agent |
AP_ACTIVE, AP_DELETED, AP_IDLE, AP_INITIATED, AP_MAX, AP_MIN, AP_SUSPENDED, AP_TRANSIT, AP_WAITING, currentBehaviour, currentMessage, D_ACTIVE, D_MAX, D_MIN, D_RETIRED, D_SUSPENDED, D_UNKNOWN |
| Constructor Summary | |
BasicGui()
|
|
| Method Summary | |
protected void |
addServices(jade.domain.FIPAAgentManagement.ServiceDescription sd)
builds the description of the service provided by this agent. |
protected void |
afterMove()
standard action after moving. |
protected void |
back()
move the agent back home to the container it was born in |
protected void |
beforeMove()
standard action before moving. |
java.lang.String |
bornContainerID()
returns the ID of the container the agent was born in |
protected void |
extendedSetup()
allows further agent's intialisation (to be overriden) |
protected void |
onGuiEvent(jade.gui.GuiEvent ev)
overrides the coresponding methods of jade.gui.GuiAgent |
protected void |
registration()
registers with the DF. |
protected boolean |
removeServices(jade.domain.FIPAAgentManagement.ServiceDescription sd)
|
protected void |
setup()
sets up the basic configuration for each agent, overriding the corresponding method defined in jade.core.Agent |
protected java.lang.String |
thisContainerID()
returns the ID of the current container the agent is placed in |
protected java.lang.String |
thisPlatformID()
returns the ID of the current platform the agent executes in |
| Methods inherited from class jade.gui.GuiAgent |
postGuiEvent |
| Methods inherited from class jade.core.Agent |
addBehaviour, afterClone, beforeClone, blockingReceive, blockingReceive, blockingReceive, blockingReceive, doActivate, doClone, doDelete, doMove, doStart, doSuspend, doTimeOut, doWait, doWait, doWake, extractPassword, extractUsername, getAID, getAMS, getArguments, getAuthority, getCertificateFolder, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getLocalName, getName, getO2AObject, getPrincipal, getProperty, getQueueSize, getState, here, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, read, read, receive, receive, removeBehaviour, restartLater, restore, run, send, setArguments, setEnabledO2ACommunication, setOwnership, setPrincipal, setQueueSize, takeDown, waitUntilStarted, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private jade.core.ContainerID bornIn
private jade.domain.FIPAAgentManagement.DFAgentDescription _dfd
| Constructor Detail |
public BasicGui()
| Method Detail |
protected void registration()
protected void addServices(jade.domain.FIPAAgentManagement.ServiceDescription sd)
protected boolean removeServices(jade.domain.FIPAAgentManagement.ServiceDescription sd)
protected void extendedSetup()
protected void beforeMove()
protected void afterMove()
protected java.lang.String thisPlatformID()
protected java.lang.String thisContainerID()
public java.lang.String bornContainerID()
protected void back()
protected void setup()
protected void onGuiEvent(jade.gui.GuiEvent ev)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||