Uses of Class
jade.core.behaviours.Behaviour

Packages that use Behaviour
jade.core This package contains the microkernel of JADE system.  
jade.core.behaviours This package is a subpackage of jade.core and contains the classes used to implement basic agent behaviours.  
jade.domain.introspection This package contains the definition of the ontology used by JADE for internal monitoring of the agent platform and running agents.  
jade.proto This package contains role behaviours for FIPA standard protocols.  
jade.proto.states This package contains classes for common states of an interaction protocol, such as "waiting for a given message", "selecting between a number of alternatives", ... 
jade.util This package contains utility classes and in particular: classes for handling properties, the Logger class for logging capabilities; the leap subpackage, that is a replacement for the Java collection framework that is not supported by J2ME.  
jade.wrapper.gateway This is a subpackage of jade.wrapper and contains a set of classes that enables a non-JADE application to issue commands to a JADE-based application.  
 

Uses of Behaviour in jade.core
 

Methods in jade.core that return Behaviour
 Behaviour Service.getAMSBehaviour()
          Retrieve a behaviour that is associated with this service, and that will be deployed within the AMS.
 Behaviour BaseService.getAMSBehaviour()
          This should be properly implemented by the services that require a service specific Behaviour running in the AMS.
 

Methods in jade.core with parameters of type Behaviour
 void Agent.addBehaviour(Behaviour b)
          This method adds a new behaviour to the agent.
 void Agent.removeBehaviour(Behaviour b)
          This method removes a given behaviour from the agent.
 

Uses of Behaviour in jade.core.behaviours
 

Subclasses of Behaviour in jade.core.behaviours
 class CompositeBehaviour
          An abstract superclass for behaviours composed by many parts.
 class CyclicBehaviour
          Atomic behaviour that must be executed forever.
 class FSMBehaviour
          Composite behaviour with Finite State Machine based children scheduling.
 class LoaderBehaviour
          This behaviour serves behaviour-loading requests according to the Behaviour-loading ontology.
 class OneShotBehaviour
          Atomic behaviour that executes just once.
 class ParallelBehaviour
          Composite behaviour with concurrent children scheduling.
 class SequentialBehaviour
          Composite behaviour with sequential children scheduling.
 class SerialBehaviour
          Base class for all composite behaviour whose children run serially, i.e. the composite behaviour is blocked if and only if its current child is blocked.
 class SimpleBehaviour
          An atomic behaviour.
 class TickerBehaviour
          This abstract class implements a Behaviour that periodically executes a user-defined piece of code.
 class WakerBehaviour
          This abstract class implements a OneShot task that must be executed only one just after a given timeout is elapsed.
 

Methods in jade.core.behaviours that return Behaviour
 Behaviour ThreadedBehaviourFactory.wrap(Behaviour b)
          Wraps a normal JADE Behaviour b into a "threaded behaviour".
protected  Behaviour SequentialBehaviour.getCurrent()
          Get the current child
protected  Behaviour ParallelBehaviour.getCurrent()
          Get the current child
 Behaviour FSMBehaviour.deregisterState(java.lang.String name)
          Deregister a state of this FSMBehaviour.
 Behaviour FSMBehaviour.getState(java.lang.String name)
          Retrieve the child behaviour associated to the FSM state with the given name.
protected  Behaviour FSMBehaviour.getCurrent()
          Get the current child
protected  Behaviour FSMBehaviour.getPrevious()
          Get the previously executed child
protected abstract  Behaviour CompositeBehaviour.getCurrent()
          This method returns the child behaviour currently scheduled for execution
 Behaviour Behaviour.root()
          Returns the root for this Behaviour object.
 

Methods in jade.core.behaviours with parameters of type Behaviour
 Behaviour ThreadedBehaviourFactory.wrap(Behaviour b)
          Wraps a normal JADE Behaviour b into a "threaded behaviour".
 java.lang.Thread ThreadedBehaviourFactory.interrupt(Behaviour b)
          Interrupt a threaded behaviour.
 void ThreadedBehaviourFactory.suspend(Behaviour b)
          Suspend a threaded behaviour.
 void ThreadedBehaviourFactory.resume(Behaviour b)
          Resume a threaded behaviour.
 java.lang.Thread ThreadedBehaviourFactory.getThread(Behaviour b)
           
 void SequentialBehaviour.addSubBehaviour(Behaviour b)
          Add a sub behaviour to this SequentialBehaviour
 void SequentialBehaviour.removeSubBehaviour(Behaviour b)
          Remove a sub behaviour from this SequentialBehaviour
 void ParallelBehaviour.addSubBehaviour(Behaviour b)
          Add a sub behaviour to this ParallelBehaviour
 void ParallelBehaviour.removeSubBehaviour(Behaviour b)
          Remove a sub behaviour from this ParallelBehaviour
protected  void LoaderBehaviour.addBehaviour(Behaviour b, ACLMessage request)
          Add a loaded behaviour to the agent.
 void FSMBehaviour.registerState(Behaviour state, java.lang.String name)
          Register a Behaviour as a state of this FSMBehaviour.
 void FSMBehaviour.registerFirstState(Behaviour state, java.lang.String name)
          Register a Behaviour as the initial state of this FSMBehaviour.
 void FSMBehaviour.registerLastState(Behaviour state, java.lang.String name)
          Register a Behaviour as a final state of this FSMBehaviour.
 java.lang.String FSMBehaviour.getName(Behaviour state)
          Retrieve the name of the FSM state associated to the given child behaviour.
protected  void FSMBehaviour.handleStateEntered(Behaviour state)
           
 

Uses of Behaviour in jade.domain.introspection
 

Subclasses of Behaviour in jade.domain.introspection
 class AMSSubscriber
          This behaviour subscribes to the AMS to receive notifications about platform-wide events.
 class IntrospectionServer
           
 

Uses of Behaviour in jade.proto
 

Subclasses of Behaviour in jade.proto
 class AchieveREInitiator
          This is a single homogeneous and effective implementation of all the FIPA-Request-like interaction protocols defined by FIPA, that is all those protocols where the initiator sends a single message (i.e. it performs a single communicative act) within the scope of an interaction protocol in order to verify if the RE (Rational Effect) of the communicative act has been achieved or not.
 class AchieveREResponder
          This is a single homogeneous and effective implementation of all the FIPA-Request-like interaction protocols defined by FIPA, that is all those protocols where the initiator sends a single message (i.e. it performs a single communicative act) within the scope of an interaction protocol in order to verify if the RE (Rational Effect) of the communicative act has been achieved or not.
 class ContractNetInitiator
          This class implements the Fipa-Contract-Net interaction protocol with an API similar and homogeneous to AchieveREInitiator.
 class ContractNetResponder
          Behaviour class for fipa-contract-net Responder role.
(package private)  class jade.proto.Initiator
           
 class IteratedAchieveREInitiator
          This class implements the initiator role in the iterated version of fipa-request like interaction protocols.
 class ProposeInitiator
          This class implements the Fipa-Propose interaction protocol with an API similar and homogeneous to AchieveREInitiator.
 class ProposeResponder
          Behaviour class for fipa-propose Responder role.
(package private)  class jade.proto.Responder
          Common base class for all classes implementing the Responder role in interaction protocols where the responder is expected to receive more than one message from the initiator and reply to them.
 class SimpleAchieveREInitiator
          This is simple implementation of the AchieveREInitiator.
 class SimpleAchieveREResponder
          This is a single homogeneous and effective implementation of all the FIPA-Request-like interaction protocols defined by FIPA, that is all those protocols where the initiator sends a single message (i.e. it performs a single communicative act) within the scope of an interaction protocol in order to verify if the RE (Rational Effect) of the communicative act has been achieved or not.
 class SSContractNetResponder
          Single Session version of the Responder role in the Fipa-Contract-Net protocol.
 class SSIteratedAchieveREResponder
          Single Session version of the Responder role in the Iterated-Fipa-Request protocol.
(package private)  class jade.proto.SSResponder
          Common base class for all classes implementing the Single Session version of the Responder role in interaction protocols where the responder is expected to receive more than one message from the initiator and reply to each of them.
 class SubscriptionInitiator
          This is a single homogeneous and effective implementation of the initiator role in all the FIPA-Subscribe-like interaction protocols defined by FIPA, that is all those protocols where the initiator sends a single "subscription" message and receives notifications each time a given condition becomes true.
 class SubscriptionResponder
          This is a single homogeneous and effective implementation of the responder role in all the FIPA-Subscribe-like interaction protocols defined by FIPA, that is all those protocols where the initiator sends a single "subscription" message and receives notifications each time a given condition becomes true.
 class TwoPh0Initiator
          Class description
 class TwoPh1Initiator
          Class description
 class TwoPh2Initiator
          Class description
 class TwoPhInitiator
          Class description
 class TwoPhResponder
          Class description
 

Methods in jade.proto that return Behaviour
 Behaviour TwoPhInitiator.getPhase(java.lang.String name)
           
 

Methods in jade.proto with parameters of type Behaviour
 void TwoPhResponder.registerHandleCfp(Behaviour b)
          This method allows to register a user defined Behaviour in the PREPARE_PROPOSE state.
 void TwoPhResponder.registerHandleQueryIf(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_QUERY_IF state.
 void TwoPhResponder.registerHandleRejectProposal(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REJECT state.
 void TwoPhResponder.registerHandleAcceptProposal(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ACCEPTANCE state.
 void TwoPh2Initiator.registerPrepareProposals(Behaviour b)
          This method allows to register a user-defined Behaviour in the PREPARE_ACCEPTANCES state.
 void TwoPh2Initiator.registerHandleInform(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_INFORM state.
 void TwoPh2Initiator.registerHandleOldResponse(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_OLD_RESPONSE state.
 void TwoPh2Initiator.registerHandleAllResponses(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESPONSES state.
 void TwoPh1Initiator.registerPrepareQueryIfs(Behaviour b)
          This method allows to register a user-defined Behaviour in the PREPARE_QUERYIFS state.
 void TwoPh1Initiator.registerHandleConfirm(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_CONFIRM state.
 void TwoPh1Initiator.registerHandleDisconfirm(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_DISCONFIRM state.
 void TwoPh1Initiator.registerHandleInform(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_INFORM state.
 void TwoPh1Initiator.registerHandleAllResponses(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESPONSES state.
 void TwoPh0Initiator.registerPrepareCfps(Behaviour b)
          This method allows to register a user-defined Behaviour in the PREPARE_CFPS state.
 void TwoPh0Initiator.registerHandlePropose(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_PROPOSE state.
 void TwoPh0Initiator.registerHandleAllResponses(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESPONSES state.
 void SubscriptionResponder.registerHandleSubscription(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_SUBSCRIPTION state.
 void SubscriptionResponder.registerPrepareResponse(Behaviour b)
          Deprecated. Use registerHandleSubscription() instead.
 void SubscriptionResponder.registerHandleCancel(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_CANCEL state.
 void SubscriptionInitiator.registerPrepareSubscriptions(Behaviour b)
          This method allows to register a user defined Behaviour in the PREPARE_SUBSCRIPTIONS state.
 void SubscriptionInitiator.registerHandleAgree(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_AGREE state.
 void SubscriptionInitiator.registerHandleInform(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_INFORM state.
 void SubscriptionInitiator.registerHandleRefuse(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REFUSE state.
 void SubscriptionInitiator.registerHandleAllResponses(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESPONSES state.
 void SSIteratedAchieveREResponder.registerHandleRequest(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REQUEST state.
 void SSIteratedAchieveREResponder.registerHandleCancel(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_CANCEL state.
 void SSContractNetResponder.registerHandleCfp(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_CFP state.
 void SSContractNetResponder.registerHandleAcceptProposal(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ACCEPT_PROPOSAL state.
 void SSContractNetResponder.registerHandleRejectProposal(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REJECT_PROPOSAL state.
 void ProposeResponder.registerPrepareResponse(Behaviour b)
          This method allows to register a user defined Behaviour in the PREPARE_RESPONSE state.
 void ProposeInitiator.registerHandleAllResponses(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESPONSES state.
 void ProposeInitiator.registerHandleAcceptProposal(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ACCEPT_PROPOSAL state.
 void ProposeInitiator.registerHandleRejectProposal(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REJECT_PROPOSAL state.
 void ProposeInitiator.registerHandleNotUnderstood(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_NOT_UNDERSTOOD state.
 void ProposeInitiator.registerHandleOutOfSequence(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_OUT_OF_SEQ state.
 void IteratedAchieveREInitiator.registerHandleInform(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REFUSE state.
 void IteratedAchieveREInitiator.registerHandleAllResultNotifications(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESULT_NOTIFICATIONS state.
 void ContractNetResponder.registerPrepareResponse(Behaviour b)
          Deprecated. Use registerHandleCfp() instead.
 void ContractNetResponder.registerPrepareResultNotification(Behaviour b)
          Deprecated. Use registerHandleAcceptProposal() instead.
 void ContractNetInitiator.registerPrepareCfps(Behaviour b)
          This method allows to register a user-defined Behaviour in the PREPARE_CFPS state.
 void ContractNetInitiator.registerHandlePropose(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_PROPOSE state.
 void ContractNetInitiator.registerHandleRefuse(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REFUSE state.
 void ContractNetInitiator.registerHandleInform(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_INFORM state.
 void ContractNetInitiator.registerHandleAllResponses(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESPONSES state.
 void ContractNetInitiator.registerHandleAllResultNotifications(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESULT_NOTIFICATIONS state.
 void AchieveREResponder.registerHandleRequest(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REQUEST state.
 void AchieveREResponder.registerPrepareResponse(Behaviour b)
          Deprecated. Use registerHandleRequest() instead.
 void AchieveREResponder.registerPrepareResultNotification(Behaviour b)
          This method allows to register a user defined Behaviour in the PREPARE_RESULT_NOTIFICATION state.
 void AchieveREInitiator.registerPrepareRequests(Behaviour b)
          This method allows to register a user defined Behaviour in the PREPARE_REQUESTS state.
 void AchieveREInitiator.registerHandleAgree(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_AGREE state.
 void AchieveREInitiator.registerHandleInform(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_INFORM state.
 void AchieveREInitiator.registerHandleRefuse(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_REFUSE state.
 void AchieveREInitiator.registerHandleAllResponses(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESPONSES state.
 void AchieveREInitiator.registerHandleAllResultNotifications(Behaviour b)
          This method allows to register a user defined Behaviour in the HANDLE_ALL_RESULT_NOTIFICATIONS state.
 

Uses of Behaviour in jade.proto.states
 

Subclasses of Behaviour in jade.proto.states
 class HandlerSelector
          This class implements a selector of handler (i.e.
 class MsgReceiver
          This behaviour is a simple implementation of a message receiver.
 class ReplySender
          This behaviour sends a reply to a given message adjusting all protocol fields and receivers.
 class StateResetter
          This behaviour is used as a state of a FSMbehavior in order to reset some of the FSM's states or the whole FSM
 

Methods in jade.proto.states with parameters of type Behaviour
 void HandlerSelector.registerHandler(java.lang.Object key, Behaviour h)
          Register the bounding between an handler and a key.
 

Uses of Behaviour in jade.util
 

Methods in jade.util with parameters of type Behaviour
 void InputQueue.associate(Behaviour b)
          Associate this InputQueue object with the indicated Behaviour so that it will be restarted each time a new object is inserted.
 

Uses of Behaviour in jade.wrapper.gateway
 

Subclasses of Behaviour in jade.wrapper.gateway
 class GatewayBehaviour
          This is a cyclic behaviour that processes the commands received via JadeGateway.
 



JADE