sajas.proto
Class SSIteratedContractNetResponder
java.lang.Object
sajas.proto.SSIteratedContractNetResponder All Implemented Interfaces:
-
jade.util.leap.Serializable, Serializable
public class SSIteratedContractNetResponder
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
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 |
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.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 |
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.
checkInSequence
protected boolean checkInSequence(jade.lang.acl.ACLMessage received)
-
Check whether a received message complies with the protocol rules.
Overrides:
-
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:
-
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:
-
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