ibspan.tss.agents.pma
Class PMAResponder

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.CompositeBehaviour
          extended by jade.core.behaviours.SerialBehaviour
              extended by jade.core.behaviours.FSMBehaviour
                  extended by jade.proto.AchieveREResponder
                      extended by ibspan.tss.agents.pma.PMAResponder
All Implemented Interfaces:
FIPANames.InteractionProtocol, Serializable

public class PMAResponder
extends AchieveREResponder

This is of Responder for ProfileManagingAgent. It works in an iterative manner.

Author:
Maciej Gawinecki
See Also:
ProfileManagingAgent, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour
Behaviour.RunnableChangedEvent
 
Field Summary
 String ACT_KEY
           
 
Fields inherited from class jade.proto.AchieveREResponder
REQUEST_KEY, RESPONSE_KEY, RESULT_NOTIFICATION_KEY
 
Fields inherited from class jade.core.behaviours.FSMBehaviour
currentName, lastStates, previousName
 
Fields inherited from class jade.core.behaviours.CompositeBehaviour
currentExecuted
 
Fields inherited from class jade.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Fields inherited from interface jade.domain.FIPANames.InteractionProtocol
FIPA_BROKERING, FIPA_CONTRACT_NET, FIPA_DUTCH_AUCTION, FIPA_ENGLISH_AUCTION, FIPA_ITERATED_CONTRACT_NET, FIPA_PROPOSE, FIPA_QUERY, FIPA_RECRUITING, FIPA_REQUEST, FIPA_REQUEST_WHEN, FIPA_SUBSCRIBE
 
Constructor Summary
PMAResponder(Agent a, MessageTemplate mt)
           
 
Method Summary
protected  ACLMessage prepareResponse(ACLMessage request)
           
 
Methods inherited from class jade.proto.AchieveREResponder
createMessageTemplate, prepareResultNotification, registerPrepareResponse, registerPrepareResultNotification, reset, reset
 
Methods inherited from class jade.core.behaviours.FSMBehaviour
checkTermination, deregisterState, forceTransitionTo, getChildren, getCurrent, getLastExitValue, getName, getPrevious, getState, handleInconsistentFSM, handleStateEntered, onEnd, registerDefaultTransition, registerDefaultTransition, registerFirstState, registerLastState, registerState, registerTransition, registerTransition, resetStates, scheduleFirst, scheduleNext
 
Methods inherited from class jade.core.behaviours.SerialBehaviour
handle
 
Methods inherited from class jade.core.behaviours.CompositeBehaviour
action, block, done, registerAsChild, resetChildren, restart, setAgent
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, getBehaviourName, getDataStore, getExecutionState, getParent, isRunnable, onStart, root, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACT_KEY

public final String ACT_KEY
Constructor Detail

PMAResponder

public PMAResponder(Agent a,
                    MessageTemplate mt)
Method Detail

prepareResponse

protected ACLMessage prepareResponse(ACLMessage request)
                              throws NotUnderstoodException,
                                     RefuseException
Overrides:
prepareResponse in class AchieveREResponder
Throws:
NotUnderstoodException
RefuseException