A
-
Key to retrieve from the DataStore of the behaviour the last received ACCEPT_PROPOSAL ACLMessage
-
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
Construct an AchieveREInitiator
with an empty DataStore
-
Construct an AchieveREInitiator
with a given DataStore
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
Constructor of the behaviour that creates a new empty DataStore
-
Constructor.
-
Runs the behaviour.
-
Runs the behaviour.
-
Runs the behaviour.
-
Actual behaviour implementation.
-
Actual behaviour implementation.
-
Executes this CompositeBehaviour
.
-
Runs the behaviour.
-
Runs the behaviour.
-
Runs the behaviour.
-
Runs the behaviour.
-
Runs the behaviour.
-
Runs the behaviour.
-
Runs the behaviour.
-
This method is called internally by the JADE framework and should not be called by the user.
-
-
-
-
-
Used by sajas.core.Runtime to add ContainerControllers as containers are created.
-
Add a sub behaviour to this SequentialBehaviour
-
Add a sub behaviour to this ParallelBehaviour
-
Adjust all protocol fields and receivers in a reply to a given message.
-
-
-
-
-
This method can be redefined by protocol specific implementations to update the status of the protocol just after a reply has been sent.
-
This method can be redefined by protocol specific implementations to update the status of the protocol just after a reply has been sent.
-
This method can be redefined by protocol specific implementations to update the status of the protocol just after a reply has been sent.
-
This is the base class for implementing agents.
-
-
Action for Repast 3 agent execution in the simulation.
-
-
Action for Repast Simphony agent execution in the simulation.
-
-
The controller for an agent.
-
This constructor is used internally when launching an agent in the platform.
-
This interface represents the scheduler for agents in the simulation.
-
This new AID class, which extends the JADE version, provides a means to properly set and use a platform name.
AID() - Constructor for class sajas.core.
AID -
-
-
key to retrieve from the DataStore of the behaviour the vector of ACCEPT/REJECT_PROPOSAL ACLMessage objects that have to be sent
-
key to retrieve from the DataStore of the behaviour the vector of CFP ACLMessage objects that have to be sent.
-
-
key to retrieve from the DataStore of the behaviour the vector of PROPOSE ACLMessage objects that have to be sent.
-
-
-
Key to retrieve from the DataStore of the behaviour the vector of ACLMessage objects that will be sent at next round.
-
key to retrieve from the DataStore of the behaviour the vector of ACLMessage objects that have been sent.
-
key to retrieve from the DataStore of the behaviour the vector of ACLMessage objects that have been received as responses.
-
key to retrive all the responses received.
-
key to retrieve from the DataStore of the behaviour the vector of ACLMessage objects that have been received as responses.
-
key to retrieve from the DataStore of the behaviour the vector of ACLMessage objects that have been received as response.
-
key to retrieve from the DataStore of the behaviour the vector of ACLMessage objects that have been received as response.
-
key to retrive the result notification received.
-
key to retrieve from the DataStore of the behaviour the vector of ACLMessage objects that have been received as result notifications.
-
key to retrieve from the DataStore of the behaviour the vector of ACLMessage objects that have been received as result notifications.
-
key to retrieve from the DataStore of the behaviour the vector of subscription ACLMessage objects that have been sent.
-
-
The AMSService is re-implemented to avoid blocking approaches, given SAJaS single thread nature.
-
B
-
This method can be redefined by protocol specific implementations to customize a reply that is going to be sent back to the initiator.
-
This method can be redefined by protocol specific implementations to customize a reply that is going to be sent back to the initiator.
-
This method can be redefined by protocol specific implementations to customize a reply that is going to be sent back to the initiator.
-
-
Note: this class, as all classes in the sajas.core.behaviours
package, has been re-implemented to redirect the use of the agent class to sajas.core.Agent
.
-
Default constructor.
-
Constructor with owner agent.
-
Event class for notifying blocked and restarted behaviours.
-
Blocks this behaviour.
-
Blocks this behaviour for a specified amount of time.
-
-
-
-
-
C
-
Cancel the subscription to agent receiver
.
-
key to retrieve from the DataStore of the behaviour the ACLMessage object sent by the initiator to cancel a subscription.
-
Key to retrieve from the DataStore of the behaviour the last received CANCEL ACLMessage
-
This method should be called when the notification of a successful subscription cancellation is received from agent receiver
to terminate the session with him.
-
Key to retrieve from the DataStore of the behaviour the last received CFP ACLMessage
-
key to retrieve from the DataStore of the behaviour the ACLMessage object passed in the constructor of the class.
-
-
-
-
-
-
-
-
-
-
-
-
Check whether a reply is in-sequence and update the appropriate Session.
-
Check whether a received message complies with the protocol rules.
-
Check whether a received message complies with the protocol rules.
-
Check whether a received message complies with the protocol rules.
-
Check whether a reply is in-sequence and update the appropriate Session.
-
Check whether a reply is in-sequence and update the appropriate Session
-
Check whether a reply is in-sequence and update the appropriate Session
-
Check the status of the sessions after the reception of the last reply or the expiration of the timeout.
-
Check the status of the sessions after the reception of the last reply or the expiration of the timeout.
-
Check the status of the sessions after the reception of the last reply or the expiration of the timeout
-
Check the status of the sessions after the reception of the last reply or the expiration of the timeout
-
Check whether this SequentialBehaviour
must terminate.
-
Check whether this ParallelBehaviour
must terminate.
-
Check whether this FSMBehaviour
must terminate.
-
This methods is called after the execution of each child in order to check whether the CompositeBehaviour
should terminate.
-
Deregister all conversations.
-
This method removes the current Subscription object from the SubscriptionResponder internal tables.
-
Close the ongoing session, as soon as the next INFORM will be sent back to the initiator without the need for an explicit CANCEL message.
-
-
-
Default constructor, does not set the owner agent.
-
This constructor sets the owner agent.
-
The controller for a container.
-
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and protocol classes to SAJaS versions.
-
Constructor for the class that creates a new empty DataStore
-
Constructs a ContractNetInitiator
behaviour
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and protocol classes to SAJaS versions.
-
Constructor of the behaviour that creates a new empty DataStore
-
Constructor of the behaviour.
-
Note: this class has been re-implemented to redirect the use of the agent class to SAJaS versions.
-
Construct a ConversationList to be used inside a given agent.
-
-
-
-
Create a new conversation identifier to begin a new interaction.
-
Create a new conversation identifier to begin a new interaction.
-
Create a new conversation identifier to begin a new interaction.
-
Create a new conversation identifier to begin a new interaction.
-
-
This static method can be used to set the proper message Template (based on the performative of the subscription message) into the constructor of this behaviour.
-
This static method can be used to set the proper message Template (based on the interaction protocol and the performative) into the constructor of this behaviour.
-
This static method can be used to set the proper message template (based on the interaction protocol and the performative) into the constructor of this behaviour.
-
This static method can be used to set the proper message Template (based on the interaction protocol and the performative) to be passed to the constructor of this behaviour.
-
This static method can be used to set the proper message Template (based on the interaction protocol and the performative) into the constructor of this behaviour.
-
-
-
This method is responsible for creating a suitable Behaviour
acting as responder in the interaction protocol initiated by message initiationMsg
.
-
Utility method to correctly create a new Subscription
object managed by this SubscriptionResponder
-
-
-
-
-
-
D
-
-
-
-
-
Process the content of the final inform (Done)
message resulting from a register
or deregister
action requested to a DF agent, extracting the df-agent-description
contained within.
-
Process the content of the inform
message resulting from a subscription with a DF agent, extracting the array of df-agent-description
objects contained within.
-
Process the content of the final inform (result)
message resulting from a search
action requested to a DF agent, extracting the array of df-agent-description
contained within.
-
Deregister a Subscription object
-
-
-
-
Deregister a conversation with a given ID.
-
Deregister the default transition from a given source state.
-
Deregister a state of this FSMBehaviour
.
-
Deregister the transition from a given source state and identfied by a given termination event.
-
SAJaS implementation of the DF agent.
-
-
The DFService is re-implemented to avoid blocking approaches, given SAJaS single thread nature.
-
-
-
-
-
Check if this behaviour is done.
-
Check if this behaviour is done.
-
Check if this behaviour is done.
-
Checks whether this behaviour ended.
-
Check if this behaviour is done.
-
Check if this behaviour is done.
-
Checks whether this behaviour has terminated.
-
Check if this behaviour is done.
-
This method checks whether this behaviour has finished or not.
-
Check if this behaviour is done.
-
Check if this behaviour is done.
-
-
-
-
-
-
E
-
-
-
F
-
This method is used to fill the :content
slot of the CANCEL message that is being sent to an agent to cancel the subscription previously activated by means of the subscription
message.
-
FIPA services are re-implemented to avoid blocking approaches, given SAJaS single thread nature.
-
-
Temporarily disregards the FSM structure, and jumps to the given state.
-
-
Default constructor, does not set the owner agent.
-
This constructor sets the owner agent.
G
-
-
Gets the Agent object given its AID.
-
-
-
-
Retrieve the name of this behaviour object.
-
Return a Collection view of the children of this SequentialBehaviour
-
Return a Collection view of the children of this ParallelBehaviour
-
Return a Collection view of the children of this SequentialBehaviour
-
This method returns a Collection view of the children of this CompositeBehaviour
-
-
-
Get the current child
-
Get the current child
-
Get the current child
-
This method returns the child behaviour currently scheduled for execution
-
Return the private data store of this Behaviour
.
-
Return the private data store of this Behaviour
.
-
-
-
-
Retrieve the exit value of the most recently executed child.
-
-
This method allows the caller to get the received message.
-
Tries to retrieve the ACLMessage
object represented by this handle.
-
Retrieve the ACL message with which this subscription object was created.
-
Return a template that matches only messages that do not belong to any of the conversations in this list.
-
Retrieve the name of the FSM state associated to the given child behaviour.
-
Gets the name of the simulation.
-
-
Retrieve the enclosing CompositeBehaviour (if present).
-
-
-
-
Get the previously executed child
-
This method is used internally by the framework.
-
-
Subclasses must provide a concrete implementation for this method.
-
Return a ProtocolSession object to manage replies to a given initiation message
-
Return a ProtocolSession object to manage replies to a given initiation message
-
Return a ProtocolSession object to manage replies to a given initiation message
-
Return a ProtocolSession object to manage replies to a given initiation message
-
Read event source.
-
Retrieve the child behaviour associated to the FSM state with the given name.
-
Utility method to correctly retrieve the Subscription
object that is related to the conversation message msg
belongs to.
-
Utility method to correctly retrieve the Subscription
object that is related a given conversation.
-
Utility method that retrieves all Subscription-s done by a given agent
-
Utility method that retrieves all Subscription-s managed by this SubscriptionResponder
-
Return a Collection view of the children of this ParallelBehaviour
that have already completed.
-
Retrieve how many ticks were done (i.e.
-
Return the states that must be reset before they are visited again.
-
Return the states that must be reset before they are visited again.
-
Return the states that must be reset before they are visited again.
-
-
H
-
Handler for block/restart events.
-
Handle block/restart notifications.
-
Handle block/restart notifications.
-
Handler for block/restart events.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This method is called when an ACCEPT_PROPOSAL message is received from the initiator.
-
This method is called every time an accept-proposal
message is received, which is not out-of-sequence according to the protocol rules.
-
Redefine this method to call prepareResultNotification()
-
This method is called every time an agree
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time an agree
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time an agree
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called when all the responses have been collected or when the timeout is expired.
-
This method is called when all the responses have been collected or when the timeout is expired.
-
This method is called when all the responses have been collected or when the timeout is expired.
-
This method is called when all the responses have been collected or when the timeout is expired.
-
This method is called when all the responses have been collected or when the timeout is expired.
-
This method is called when all the result notification messages have been collected.
-
This method is called when all the result notification messages of the current round have been collected.
-
This method is redefined to call the proper overloaded method
-
This method is called when all the result notification messages have been collected.
-
This method is called when all the result notification messages have been collected.
-
This method is used internally by the framework.
-
This method is used internally by the framework.
-
This method is used internally by the framework.
-
This method is called when a CANCEL message is received for a previous subscription.
-
This method is called when a CANCEL message is received from the initiator.
-
This method is called to handle the initial CFP message.
-
Redefine this method to call prepareResponse()
-
Deprecated. Use onWake() instead
-
This method is called every time a failure
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a failure
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a failure
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a failure
message is received, which is not out-of-sequence according to the protocol rules.
-
-
This method is called every time a inform
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a inform
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time an inform
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is redefined to call the proper overloaded method
-
This method is called every time a inform
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a inform
message is received, which is not out-of-sequence according to the protocol rules.
-
This is invoked when a message matching the specified template is received or the timeout has expired (the msg
parameter is null in this case).
-
This method is called every time a not-understood
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a not-understood
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a not-understood
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a not-understood
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a not-understood
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a message is received, which is out-of-sequence according to the protocol rules.
-
This method is called whenever a message is received that does not comply to the protocol rules.
-
This method is called whenever a message is received that does not comply to the protocol rules.
-
Redefine this method to call the overloaded version with 3 parameters.
-
This method is called every time a message is received, which is out-of-sequence according to the protocol rules.
-
This method is called every time a message is received, which is out-of-sequence according to the protocol rules.
-
This method is called every time a message is received, which is out-of-sequence according to the protocol rules.
-
This method is called every time a message is received, which is out-of-sequence according to the protocol rules.
-
This method is called every time a propose
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a refuse
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a refuse
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a refuse
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called every time a refuse
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called when a REJECT_PROPOSAL message is received from the initiator.
-
This method is called every time an reject-proposal
message is received, which is not out-of-sequence according to the protocol rules.
-
This method is called to handle the initial REQUEST message and then again whenever a REQUEST message is received.
-
This method is called when the protocol initiation message (matching the MessageTemplate specified in the constructor) is received.
-
This method is used internally by the framework.
-
This method is used internally by the framework.
-
This method is used internally by the framework.
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
Constructor for this HandlerSelector.
-
-
This method is called when a subscription message is received that matches the message template specified in the constructor.
-
Check if a default transition exits from a given source state.
-
I
-
A numeric constant to mean that the deadline for the receive operation will never expire.
-
Re-init event content.
-
Initializes the DF service.
-
Initializes the AMS service.
-
Initialize the data store.
-
Initialize the data store.
-
Initialize the data store.
-
Initialize the data store.
-
Initialize the data store.
-
-
key to retrieve from the DataStore of the behaviour the ACLMessage object passed in the constructor of the class.
-
-
-
Key to retrieve from the DataStore of the behaviour the initiation ACLMessage that triggered this responder session
-
Key to retrieve from the DataStore of the behaviour the initiation ACLMessage that triggered this responder session
-
-
Signal an interruption to this receiver, and cause the ongoing receive operation to abort.
-
A numeric constant to mean that the receive operation was interrupted.
-
Returns whether this Behaviour
object is blocked or not.
-
Check whether the event is runnable.
-
Check if the responder has closed the session just after sending this inform
message.
-
Check which direction this event is travelling.
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
Construct an IteratedAchieveREInitiator
with an empty DataStore
-
Construct an IteratedAchieveREInitiator
with a given DataStore
K
-
-
L
-
-
Launch JADE and the multi-agent system related with this simulation.
-
Launch JADE and the multi-agent system related with this simulation.
M
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
Constructor.
-
-
The agent this behaviour belongs to.
-
-
This event object will be re-used for every state change notification.
-
The SubscriptionManager
used by this SubscriptionResponder
to register subscriptions
N
-
Factory method for message handles.
-
This method can be called (typically within the handleAllResponses() method) to activate a new iteration (this means we are implementing an Iterated-Contract-Net protocol).
-
-
This method allows sending back a notification message to the subscribed agent associated to this Subscription
object.
-
A constant for parent-to-child notifications.
-
A constant for child-to-parent notifications.
-
-
O
-
This method is just an empty placeholder for subclasses.
-
Override the onEnd() method to return the exit value of the last executed state.
-
This method is just an empty placeholder for subclasses.
-
This method is just an empty placeholder for subclasses.
-
This method is just an empty placeholder for subclasses.
-
-
-
-
This method is just an empty placeholders for subclasses.
-
This method is just an empty placeholders for subclasses.
-
This method is just an empty placeholders for subclasses.
-
Override the onStart() method to initialize the vectors that will keep all the replies in the data store.
-
This method is just an empty placeholders for subclasses.
-
This method is just an empty placeholders for subclasses.
-
This method is just an empty placeholders for subclasses.
-
Override the onStart() method to initialize the vectors that will keep all the replies in the data store.
-
Override the onStart() method to initialize the vectors that will keep all the replies in the data store.
-
Override the onStart() method to initialize the vectors that will keep all the replies in the data store.
-
This method is invoked periodically with the period defined in the constructor.
-
This method is invoked when the deadline defined in the constructor is reached (or when the timeout specified in the constructor expires).
P
-
-
Construct a ParallelBehaviour
without setting the owner agent, and using the default termination condition (i.e.
-
Construct a ParallelBehaviour
without setting the owner agent.
-
Construct a ParallelBehaviour
setting the owner agent.
-
-
The parser content has the form: agent-identifier ......)
-
The controller for the SAJaS platform.
-
-
-
-
-
-
-
-
This method must return the vector of ACLMessage objects to be sent.
-
-
This method is called internally by the framework and is not intended to be called by the user
-
This method must return the vector of ACLMessage objects to be sent.
-
Specialize (if necessary) the initiation message for each receiver
-
Specialize (if necessary) the initiation message for each receiver
-
This method must return the ACLMessage to be sent.
-
This method must return the vector of ACLMessage objects to be sent.
-
Deprecated. Use handleSubscription() instead
-
This method is called when the initiator's message is received that matches the message template passed in the constructor.
-
This method is called when the initiator's message is received that matches the message template passed in the constructor.
-
Deprecated. Use handleCfp()
instead
-
Deprecated. Use handleRequest() instead
-
This method is called after the response has been sent and only when one of the folliwing two cases arise: the response was an agree
message OR no response message was sent.
-
Deprecated. Use handleAcceptProposal()
instead.
-
This method is called after the execution of the handleRequest() method if no response was sent or the response was an AGREE
message.
-
This method must return the vector of subscription ACLMessage objects to be sent.
-
Deprecated. Use either ACCEPT_PROPOSAL_KEY
or REJECT_PROPOSAL_KEY
according to the message that has been received
-
Key to retrieve from the DataStore of the behaviour the last sent PROPOSE ACLMessage
-
key to retrieve from the DataStore of the behaviour the ACLMessage object sent by the initiator.
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and protocol classes to SAJaS versions.
-
Construct a ProposeInitiator
with an empty DataStore
-
Construct a ProposeInitiator
with a given DataStore
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and protocol classes to SAJaS versions.
-
Constructor of the behaviour that creates a new empty DataStore
-
Constructor.
R
-
-
-
-
-
-
-
-
-
-
-
Key to retrieve from the DataStore of the behaviour the last received ACLMessage
-
Key to retrieve from the DataStore of the behaviour the last received ACLMessage
-
-
-
This constructor creates a ReceiverBehaviour
object that ends as soon as an ACL message matching a given MessageTemplate
arrives or the passed millis timeout expires.
-
Receive any ACL message, waiting at most millis
milliseconds (infinite time if millis 1
).
-
Receive any ACL message matching the given template, witing at most millis
milliseconds (infinite time if millis 1
.
-
An interface representing ACL messages due to arrive within a time limit.
-
Exception class for timeouts.
-
Exception class for timeouts.
-
Register a new Subscription object
-
-
Simpler register method, without the need to provide an AMSAgentDescription.
-
-
-
Register a conversation creating a new unique ID.
-
Register a conversation with a given ID.
-
Register a default transition in the FSM defining the policy for children scheduling of this FSMBehaviour
.
-
Register a default transition in the FSM defining the policy for children scheduling of this FSMBehaviour
.
-
Utility method to register a behaviour in a state of the protocol and set the DataStore appropriately
-
Utility method to register a behaviour in a state of the protocol and set the DataStore appropriately
-
Register a Behaviour
as the initial state of this FSMBehaviour
.
-
This method allows to register a user defined Behaviour
in the HANDLE_ACCEPT_PROPOSAL state.
-
This method allows to register a user defined Behaviour
in the HANDLE_ACCEPT_PROPOSAL state.
-
This method allows to register a user defined Behaviour
in the HANDLE_AGREE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_AGREE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESPONSES state.
-
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESPONSES state.
-
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESPONSES state.
-
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESPONSES state.
-
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESULT_NOTIFICATIONS state.
-
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESULT_NOTIFICATIONS state.
-
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESULT_NOTIFICATIONS state.
-
This method allows to register a user defined Behaviour
in the HANDLE_CANCEL state.
-
This method allows to register a user defined Behaviour
in the HANDLE_CANCEL state.
-
This method allows to register a user defined Behaviour
in the HANDLE_CFP state.
-
Redefine this method so that the HANDLE_CFP state is not registered as first state
-
This method allows to register a user defined Behaviour
in the HANDLE_FAILURE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_FAILURE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_FAILURE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_INFORM state.
-
This method allows to register a user defined Behaviour
in the HANDLE_REFUSE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_INFORM state.
-
This method allows to register a user defined Behaviour
in the HANDLE_INFORM state.
-
This method allows to register a user defined Behaviour
in the HANDLE_NOT_UNDERSTOOD state.
-
This method allows to register a user defined Behaviour
in the HANDLE_NOT_UNDERSTOOD state.
-
This method allows to register a user defined Behaviour
in the HANDLE_NOT_UNDERSTOOD state.
-
This method allows to register a user defined Behaviour
in the HANDLE_NOT_UNDERSTOOD state.
-
This method allows to register a user defined Behaviour
in the HANDLE_OUT_OF_SEQ state.
-
This method allows to register a user defined Behaviour
in the HANDLE_OUT_OF_SEQ state.
-
This method allows to register a user defined Behaviour
in the HANDLE_OUT_OF_SEQ state.
-
This method allows to register a user defined Behaviour
in the HANDLE_OUT_OF_SEQ state.
-
This method allows to register a user defined Behaviour
in the HANDLE_OUT_OF_SEQ state.
-
This method allows to register a user defined Behaviour
in the HANDLE_OUT_OF_SEQ state.
-
This method allows to register a user defined Behaviour
in the HANDLE_PROPOSE state.
-
Register the bounding between an handler and a key.
-
This method allows to register a user defined Behaviour
in the HANDLE_REFUSE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_REFUSE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_REFUSE state.
-
This method allows to register a user defined Behaviour
in the HANDLE_REJECT_PROPOSAL state.
-
This method allows to register a user defined Behaviour
in the HANDLE_REJECT_PROPOSAL state.
-
This method allows to register a user defined Behaviour
in the HANDLE_REQUEST state.
-
This method allows to register a user defined Behaviour
in the HANDLE_REQUEST state.
-
This method allows to register a user defined Behaviour
in the HANDLE_SUBSCRIPTION state.
-
Register a Behaviour
as a final state of this FSMBehaviour
.
-
This method allows to register a user-defined Behaviour
in the PREPARE_CFPS state.
-
Attach a behaviour to the Prepare-initiations
protocol state.
-
Attach a behaviour to the Prepare-initiations
protocol state.
-
Attach a behaviour to the Prepare-initiations
protocol state.
-
This method allows to register a user defined Behaviour
in the PREPARE_REQUESTS state.
-
Deprecated. Use registerHandleSubscription() instead.
-
This method allows to register a user defined Behaviour
in the PREPARE_RESPONSE state.
-
Deprecated. Use registerHandleCfp()
instead.
-
Deprecated. Use registerHandleRequest() instead.
-
Deprecated. Use registerHandleAcceptProposal()
instead.
-
This method allows to register a user defined Behaviour
in the PREPARE_RESULT_NOTIFICATION state.
-
This method allows to register a user defined Behaviour
in the PREPARE_SUBSCRIPTIONS state.
-
Register a Behaviour
as a state of this FSMBehaviour
.
-
Register a transition in the FSM defining the policy for children scheduling of this FSMBehaviour
.
-
Register a transition in the FSM defining the policy for children scheduling of this FSMBehaviour
.
-
Re-initialize the internal state without performing a complete reset.
-
Re-initialize the internal state without performing a complete reset.
-
Re-initialize the internal state without performing a complete reset.
-
-
Re-initialize the internal state without performing a complete reset.
-
reset this behaviour
-
Key to retrieve from the DataStore of the behaviour the last received REJECT_PROPOSAL ACLMessage
-
Uased by sajas.core.Agent after terminating execution.
-
-
-
-
Remove a sub behaviour from this SequentialBehaviour
-
Remove a sub behaviour from this ParallelBehaviour
-
-
A SAJaS launcher for the Repast 3 simulation framework.
-
-
A SAJaS launcher for the Repast Simphony simulation framework.
-
-
-
-
-
key to retrieve from the DataStore of the behaviour the last ACLMessage object that has been received (null if the timeout expired).
-
Key to set into the DataStore of the behaviour the new ACLMessage to be sent back to the initiator as a reply.
-
Key to set into the DataStore of the behaviour the new ACLMessage to be sent back to the initiator as a reply.
-
key to retrieve from the DataStore of the behaviour the last ACLMessage object that has been received (null if the timeout expired).
-
key to retrieve from the DataStore of the behaviour the last ACLMessage object that has been received (null if the timeout expired).
-
key to retrieve from the DataStore of the behaviour the last ACLMessage object that has been received (null if the timeout expired).
-
-
-
-
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
Constructor.
-
Constructor.
-
-
-
-
-
-
Key to retrieve from the DataStore of the behaviour the last received REQUEST ACLMessage
-
-
key to retrive from the datastore the ACLMessage passed in the constructor
-
key to retrieve from the DataStore of the behaviour the ACLMessage object sent by the initiator.
-
key to retrieve from the DataStore of the behaviour the ACLMessage object passed in the constructor of the class.
-
key to retrive from the datastore the ACLMessage that has been sent.
-
Restores behaviour initial state.
-
This method must be called to reset the behaviour and starts again
-
This method must be called to reset the behaviour and starts again
-
This method must be called to reset the behaviour and starts again
-
This method must be called to reset the behaviour and starts again
-
This method must be called to reset the behaviour and starts again
-
Resets a SimpleBehaviour
.
-
Puts a CompositeBehaviour
back in initial state.
-
Resets this behaviour.
-
Resets this behaviour.
-
Put this FSMBehaviour back in the initial condition.
-
Puts a CompositeBehaviour
back in initial state.
-
Restores behaviour initial state.
-
Reset this behaviour
-
This method resets the protocol and allows to change the MessageTemplate
that defines what messages this SubscriptionResponder will react to.
-
reset this behaviour by putting a null ACLMessage as message to be sent
-
reset this behaviour
-
Reset this protocol behaviour
-
Reset this behaviour.
-
Reset this behaviour using the same MessageTemplate.
-
This method allows to change the MessageTemplate
that defines what messages this FIPARequestResponder will react to and reset the protocol.
-
This method resets this behaviour so that it restarts from the initial state of the protocol with a null message.
-
This method resets this behaviour so that it restarts the protocol with another request message.
-
Reset this behaviour.
-
This method allows to change the MessageTemplate
that defines what messages this ProposeResponder will react to and reset the protocol.
-
reset this behaviour by putting a null ACLMessage as message to be sent
-
reset this behaviour
-
reset this behaviour by putting a null ACLMessage as message to be sent
-
reset this behaviour
-
Reset this behaviour using the same MessageTemplate.
-
This method allows to change the MessageTemplate
that defines what messages this FIPARequestResponder will react to and reset the protocol.
-
reset this behaviour by putting a null ACLMessage as message to be sent
-
reset this behaviour
-
Reset this behaviour, possibly replacing the receive templatt and other data.
-
-
Reset the children behaviours registered in the states indicated in the states
parameter.
-
key to retrieve from the DataStore of the behaviour the ACLMessage object sent as a response to the initiator.
-
-
key to retrieve from the DataStore of the behaviour the ACLMessage object sent as a response to the initiator.
-
Deprecated. Use REPLY_KEY
-
key to retrieve from the DataStore of the behaviour the ACLMessage object sent as a response to the initiator.
-
Restarts a blocked behaviour.
-
-
-
Deprecated. Use REPLY_KEY
-
key to retrieve from the DataStore of the behaviour the ACLMessage object sent as a result notification to the initiator.
-
Returns the root for this Behaviour
object.
-
-
SAJaS runtime, replicating JADE's API.
S
-
-
-
-
-
-
-
This package contains classes and subpackages that make the connection with the available simulation infrastructures.
-
This package contains classes that make the connection with the Repast 3 simulation infrastructure.
-
This package contains classes that make the connection with the Repast Simphony simulation infrastructure.
-
-
Simulation framework-specific method for scheduling an agent for execution.
-
Simulation framework-specific method for scheduling an agent for execution.
-
Simulation framework-specific method for scheduling an agent for execution.
-
Prepare the first child for execution
-
Prepare the first child for execution
-
Prepare the first child for execution.
-
This method schedules the first child to be executed
-
Sequential policy for children scheduling.
-
This method schedules children behaviours one at a time, in a round robin fashion.
-
This method schedules the next child to be executed.
-
This method schedules the next child to be executed
-
-
-
key to retrive the second reply received.
-
Value returned by onEnd
method if no handler was found mapped to the key
-
Value returned by onEnd
method if an handler was found mapped to the key
-
Posts a message in each of the receivers' mailbox.
-
-
-
-
-
-
-
-
-
Utility method to send an optional AGREE message back to the initiator ensuring that all protocol fields are properly set.
-
-
Send a given ACL message.
-
Create and initialize the Sessions and sends the initiation messages
-
Create and initialize the Sessions and sends the initiation messages.
-
Create and initialize the Sessions and sends the initiation messages
-
Create and initialize the Sessions and sends the initiation messages
-
-
Default constructor.
-
This constructor sets the owner agent for this behaviour.
-
-
Create a new SerialBehaviour
object, without setting the owner agent.
-
Create a new SerialBehaviour
object and set the owner agent.
-
-
-
-
-
This method can be redefined by protocol specific implementations to take proper actions after the completion of the current protocol session.
-
This method can be redefined by protocol specific implementations to take proper actions after the completion of the current protocol session.
-
This method can be redefined by protocol specific implementations to take proper actions after the completion of the current protocol session.
-
Associates this behaviour with the agent it belongs to.
-
Associates this behaviour with the agent it belongs to.
-
Associates this behaviour with the agent it belongs to.
-
Sets the agent scheduler.
-
Sets the agent scheduler.
-
-
-
Give a name to this behaviour object.
-
Used by sajas.wrapper.ContainetController to appropriately set the ContainerController of this agent.
-
Set the private data store of this Behaviour
-
Set the private data store of this Behaviour
-
Override the setDataStore() method to propagate this setting to all children.
-
Override the setDataStore() method to initialize propagate this setting to all children.
-
Override the setDataStore() method to propagate this setting to all children.
-
Override the setDataStore() method to propagate this setting to all children.
-
This method allows modifying the deadline
-
-
-
Turn on/off the "fixed period" mode.
-
Overridden to use a proper platform name.
-
-
Used by sajas.core.Runtime to appropriately set the PlatformController of this container controller.
-
-
This method allows modifying the key in the DS where to put the received message
-
-
This method allows modifying the template
-
-
-
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
Construct for the class by creating a new empty DataStore
-
Constructs a SimpleAchieveREInitiator
behaviour
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
Constructor of the behaviour that creates a new empty DataStore
-
Constructor.
-
-
Default constructor.
-
This constructor sets the owner agent for this behaviour.
-
-
This method can be called (typically within the handlePropose() method) to skip all responses that have not been received yet.
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and protocol classes to SAJaS versions.
-
Construct a SSContractNetResponder that is activated by the reception of a given initiation CFP message.
-
Construct a SSContractNetResponder that is activated by the reception of a given initiation CFP message and uses a given DataStore.
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and protocol classes to SAJaS versions.
-
Construct a SSIteratedAchieveREResponder that is activated by the reception of a given initiation REQUEST message.
-
Construct a SSIteratedAchieveREResponder that is activated by the reception of a given initiation REQUEST message and uses a given DataStore.
-
Note: this class has been re-implemented to redirect the use of the agent and behaviour classes to SAJaS versions.
-
-
Construct a SSIteratedContractNetResponder that is activated by the reception of a given initiation CFP message and uses a given DataStore.
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and conversation list classes to SAJaS versions.
-
-
-
Starts this agent by adding it to the agent scheduler.
-
A constant identifying the blocked state.
-
A constant identifying the runnable state.
-
A constant identifying the running state.
-
Note: this class has been re-implemented to redirect the use of behaviour classes to SAJaS versions.
-
Constructor.
-
Constructor.
-
Note that this implementation does not take into account agent life-cycle management.
-
Make this WakerBehaviour terminate without calling the onWake() method.
-
Make this TickerBehaviour
terminate.
-
Simulation framework-specific method for stopping the simulation.
-
Simulation framework-specific method for stopping the simulation.
-
Simulation framework-specific method for stopping the simulation.
-
-
key to retrieve from the DataStore of the behaviour the ACLMessage object sent by the initiator as a subscription.
-
key to retrieve from the DataStore of the behaviour the subscription ACLMessage object passed in the constructor of the class.
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and protocol classes to SAJaS versions.
-
Construct a SubscriptionInitiator
with an empty DataStore
-
Construct a SubscriptionInitiator
with a given DataStore
-
Note: this class has been re-implemented to redirect the use of the agent, behaviour and protocol classes to SAJaS versions.
-
Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template.
-
Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template and notifies a given SubscriptionManager about subscription/un-subscription events.
-
Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template, notifies a given SubscriptionManager about subscription/un-subscription events and uses a given DataStore.
-
Inner calss Subscription
-
Inner interface SubscriptionManager.
T
-
-
-
-
Construct a TickerBehaviour
that call its onTick()
method every period
ms.
-
A numeric constant to mean that a timeout expired.
-
-
U
-
Simulation framework-specific method for unscheduling an agent from execution.
-
Simulation framework-specific method for unscheduling an agent from execution.
-
Simulation framework-specific method for unscheduling an agent from execution.
W
-
-
This method constructs the behaviour.
-
This method constructs the behaviour.
-
Predefined constant to be used in the constructor to create a ParallelBehaviour
that terminates when all its children are done.
-
Predefined constant to be used in the constructor to create a ParallelBehaviour
that terminates when any of its child is done.
-
This behaviour allows modifying on the fly the way an existing behaviour object works The following piece of code provides an example where we modify the done()
method of an existing behaviour object to print on the standard output a proper message when the behaviour is completing.
-
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