ibspan.ecap.merchant.shopdecisions.negotiationpreparation
Class NegotiationTemplateDispatcher

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by jade.core.behaviours.CyclicBehaviour
              extended by ibspan.ecap.merchant.shopdecisions.negotiationpreparation.NegotiationTemplateDispatcher
All Implemented Interfaces:
java.io.Serializable

public class NegotiationTemplateDispatcher
extends jade.core.behaviours.CyclicBehaviour

A behaviour aquiring completed results and dispatching them to the Shop Agent. Should be run in a separate thread, because while waiting for completed tasks it blocks the running thread.

Author:
Micha³ Drozdowicz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class jade.core.behaviours.Behaviour
STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
NegotiationTemplateDispatcher(jade.core.Agent myAgent, jade.core.AID shopAgent)
           
 
Method Summary
 void action()
           
 
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, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegotiationTemplateDispatcher

public NegotiationTemplateDispatcher(jade.core.Agent myAgent,
                                     jade.core.AID shopAgent)
Method Detail

action

public void action()
Specified by:
action in class jade.core.behaviours.Behaviour