|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjade.core.Agent
it.unimo.dbgroup.momis.agent.Basic
BasicAgent class: this class defines the basic fields and methods every agent with no GUI posseses
| Nested Class Summary |
| Nested classes inherited from class jade.core.Agent |
|
| Field Summary | |
jade.core.ContainerID |
bornIn
variable to store the Container where the agent was born |
| 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 | |
Basic()
|
|
| Method Summary | |
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 |
handIn()
delivers results to the agent's owner (to be overridden) |
protected void |
opening()
opens agent's activites (to be overriden) |
protected void |
registration()
registers with the DF |
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.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 |
public jade.core.ContainerID bornIn
| Constructor Detail |
public Basic()
| Method Detail |
protected void registration()
protected void opening()
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 handIn()
protected void setup()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||