Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

sajas.proto
Class SSIteratedContractNetResponder
java.lang.Object
  sajas.core.behaviours.Behaviour
      sajas.core.behaviours.CompositeBehaviour
          sajas.core.behaviours.SerialBehaviour
              sajas.core.behaviours.FSMBehaviour
                  sajas.proto.SSContractNetResponder
                      sajas.proto.SSIteratedContractNetResponder
All Implemented Interfaces:
jade.util.leap.Serializable, Serializable

public class SSIteratedContractNetResponder
extends SSContractNetResponder
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
Author:
hlc
See Also:
jade.proto.SSIteratedContractNetResponder

Nested classes/interfaces inherited from class sajas.core.behaviours.Behaviour
Behaviour.RunnableChangedEvent
Fields inherited from class sajas.proto.SSContractNetResponder
ACCEPT_PROPOSAL_KEY, CFP_KEY, CHECK_IN_SEQ, DUMMY_FINAL, HANDLE_ACCEPT_PROPOSAL, HANDLE_CFP, HANDLE_OUT_OF_SEQUENCE, HANDLE_REJECT_PROPOSAL, INITIATION_KEY, PROPOSE_KEY, RECEIVE_NEXT, RECEIVED_KEY, REJECT_PROPOSAL_KEY, REPLY_KEY, SEND_REPLY
Fields inherited from class sajas.core.behaviours.FSMBehaviour
currentName, lastStates
Fields inherited from class sajas.core.behaviours.CompositeBehaviour
currentExecuted
Fields inherited from class sajas.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
Constructor Summary
SSIteratedContractNetResponder(Agent a, jade.lang.acl.ACLMessage cfp)
SSIteratedContractNetResponder(Agent a, jade.lang.acl.ACLMessage cfp, DataStore store)
          Construct a SSIteratedContractNetResponder that is activated by the reception of a given initiation CFP message and uses a given DataStore.
Method Summary
protected void
afterReply(jade.lang.acl.ACLMessage reply)
          This method can be redefined by protocol specific implementations to update the status of the protocol just after a reply has been sent.
protected void
beforeReply(jade.lang.acl.ACLMessage reply)
          This method can be redefined by protocol specific implementations to customize a reply that is going to be sent back to the initiator.
protected boolean
checkInSequence(jade.lang.acl.ACLMessage received)
          Check whether a received message complies with the protocol rules.
Methods inherited from class sajas.proto.SSContractNetResponder
handleAcceptProposal, handleCfp, handleOutOfSequence, handleOutOfSequence, handleRejectProposal, onStart, registerDSState, registerHandleAcceptProposal, registerHandleCfp, registerHandleOutOfSequence, registerHandleRejectProposal, reinit, reset, sessionTerminated
Methods inherited from class sajas.core.behaviours.FSMBehaviour
checkTermination, deregisterDefaultTransition, deregisterState, deregisterTransition, forceTransitionTo, getChildren, getCurrent, getLastExitValue, getName, getPrevious, getState, handleInconsistentFSM, handleStateEntered, hasDefaultTransition, onEnd, registerDefaultTransition, registerDefaultTransition, registerFirstState, registerLastState, registerState, registerTransition, registerTransition, resetStates, scheduleFirst, scheduleNext, stringifyTransitionTable
Methods inherited from class sajas.core.behaviours.SerialBehaviour
handle
Methods inherited from class sajas.core.behaviours.CompositeBehaviour
action, done, handleBlockEvent, handleRestartEvent, registerAsChild, resetChildren, setAgent
Methods inherited from class sajas.core.behaviours.Behaviour
actionWrapper, block, block, getAgent, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, isRunnable, restart, root, setBehaviourName, setDataStore, setExecutionState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
SSIteratedContractNetResponder
public SSIteratedContractNetResponder(Agent a,
                                      jade.lang.acl.ACLMessage cfp)

SSIteratedContractNetResponder
public SSIteratedContractNetResponder(Agent a,
                                      jade.lang.acl.ACLMessage cfp,
                                      DataStore store)
Construct a SSIteratedContractNetResponder that is activated by the reception of a given initiation CFP message and uses a given DataStore.
Method Detail
checkInSequence
protected boolean checkInSequence(jade.lang.acl.ACLMessage received)
Check whether a received message complies with the protocol rules.
Overrides:
checkInSequence in class SSContractNetResponder

beforeReply
protected void beforeReply(jade.lang.acl.ACLMessage reply)
This method can be redefined by protocol specific implementations to customize a reply that is going to be sent back to the initiator. This default implementation does nothing.
Overrides:
beforeReply in class SSContractNetResponder

afterReply
protected void afterReply(jade.lang.acl.ACLMessage reply)
This method can be redefined by protocol specific implementations to update the status of the protocol just after a reply has been sent. This default implementation does nothing.
Overrides:
afterReply in class SSContractNetResponder

Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Java API documentation generated with DocFlex/Doclet 1.6.1 using JavadocPro template set.
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc, which is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com