|
||||||||||
| 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
de.fau.cs.www8.jadeowlcodec.examples.OWLEngageexample.ExampleReceiverBehaviour
public class ExampleReceiverBehaviour
an example demonstrating how behaviours might receive messages with the OWLCodec
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour |
|---|
jade.core.behaviours.Behaviour.RunnableChangedEvent |
| Field Summary | |
|---|---|
protected jade.lang.acl.MessageTemplate |
template
|
| Fields inherited from class jade.core.behaviours.Behaviour |
|---|
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING |
| Constructor Summary | |
|---|---|
ExampleReceiverBehaviour(KnowledgeBase kb)
|
|
| Method Summary | |
|---|---|
void |
action()
|
protected void |
runBehaviour()
|
protected void |
sendNotUnderstood(jade.lang.acl.ACLMessage incoming)
sends a message with performative NOT_UNDERSTOOD as answer to the must be ontology specific |
| 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, handle, 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 |
| Field Detail |
|---|
protected jade.lang.acl.MessageTemplate template
| Constructor Detail |
|---|
public ExampleReceiverBehaviour(KnowledgeBase kb)
| Method Detail |
|---|
protected void runBehaviour()
protected final void sendNotUnderstood(jade.lang.acl.ACLMessage incoming)
incoming - the message that was not understoodpublic void action()
action in class jade.core.behaviours.Behaviour
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg