|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.CyclicBehaviour
gridiq.agents.behaviours.ReceiveBusData
public class ReceiveBusData
A behaviour that enables agents to receive simulation results from GridIQ. The JADE object2Agent communication method is used to receive the result.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour |
|---|
jade.core.behaviours.Behaviour.RunnableChangedEvent |
| Field Summary |
|---|
| Fields inherited from class jade.core.behaviours.Behaviour |
|---|
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING |
| Constructor Summary | |
|---|---|
ReceiveBusData()
|
|
| Method Summary | |
|---|---|
void |
action()
Takes the first object in the object2Agent queue, if it is of type BusResult the current simulation
result for this agent is updated. |
| Methods inherited from class jade.core.behaviours.CyclicBehaviour |
|---|
done |
| Methods inherited from class jade.core.behaviours.SimpleBehaviour |
|---|
reset |
| Methods inherited from class jade.core.behaviours.Behaviour |
|---|
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, handle, handleBlockEvent, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReceiveBusData()
| Method Detail |
|---|
public void action()
BusResult the current simulation
result for this agent is updated.
action in class jade.core.behaviours.Behaviour
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||