|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 in an extended way (see the Tutorial), 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. |
void |
Agent.setO2AManager(Behaviour b)
Sets the behaviour responsible for managing objects passed to the agent by means of the Object-To-Agent (O2A) communication mechanism. |
| 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 |
OntologyServer
Ready made behaviour that for each incoming message automatically invoke a corresponding method of the form
public void serveCcccPppp(Cccc c, ACLMessage msg) throws Exception
where c represents the key content-element referenced by the incoming message msg. |
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. |
class |
WrapperBehaviour
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. |
| Methods in jade.core.behaviours that return Behaviour | |
|---|---|
Behaviour |
FSMBehaviour.deregisterState(java.lang.String name)
Deregister a state of this FSMBehaviour. |
protected Behaviour |
SequentialBehaviour.getCurrent()
Get the current child |
protected Behaviour |
ParallelBehaviour.getCurrent()
Get the current child |
protected Behaviour |
FSMBehaviour.getCurrent()
Get the current child |
protected abstract Behaviour |
CompositeBehaviour.getCurrent()
This method returns the child behaviour currently scheduled for execution |
protected Behaviour |
FSMBehaviour.getPrevious()
Get the previously executed child |
Behaviour |
FSMBehaviour.getState(java.lang.String name)
Retrieve the child behaviour associated to the FSM state with the given name. |
Behaviour |
WrapperBehaviour.getWrappedBehaviour()
|
Behaviour |
Behaviour.root()
Returns the root for this Behaviour object. |
Behaviour |
ThreadedBehaviourFactory.wrap(Behaviour b)
Wraps a normal JADE Behaviour b into a "threaded behaviour". |
| Methods in jade.core.behaviours with parameters of type Behaviour | |
|---|---|
protected void |
LoaderBehaviour.addBehaviour(Behaviour b,
ACLMessage request)
Add a loaded behaviour to the agent. |
void |
SequentialBehaviour.addSubBehaviour(Behaviour b)
Add a sub behaviour to this SequentialBehaviour |
void |
ParallelBehaviour.addSubBehaviour(Behaviour b)
Add a sub behaviour to this ParallelBehaviour |
java.lang.String |
FSMBehaviour.getName(Behaviour state)
Retrieve the name of the FSM state associated to the given child behaviour. |
java.lang.Thread |
ThreadedBehaviourFactory.getThread(Behaviour b)
|
protected void |
FSMBehaviour.handleStateEntered(Behaviour state)
|
java.lang.Thread |
ThreadedBehaviourFactory.interrupt(Behaviour b)
Interrupt a threaded behaviour. |
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. |
void |
FSMBehaviour.registerState(Behaviour state,
java.lang.String name)
Register a Behaviour as a state of this
FSMBehaviour. |
void |
SequentialBehaviour.removeSubBehaviour(Behaviour b)
Remove a sub behaviour from this SequentialBehaviour |
void |
ParallelBehaviour.removeSubBehaviour(Behaviour b)
Remove a sub behaviour from this ParallelBehaviour |
void |
ThreadedBehaviourFactory.resume(Behaviour b)
Resume a threaded behaviour. |
void |
ThreadedBehaviourFactory.suspend(Behaviour b)
Suspend a threaded behaviour. |
Behaviour |
ThreadedBehaviourFactory.wrap(Behaviour b)
Wraps a normal JADE Behaviour b into a "threaded behaviour". |
| Constructors in jade.core.behaviours with parameters of type Behaviour | |
|---|---|
WrapperBehaviour(Behaviour wrapped)
|
|
| 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 initiator role in a Fipa-Contract-Net or Iterated-Fipa-Contract-Net interaction protocol. |
class |
ContractNetResponder
Behaviour class for fipa-contract-net
Responder role. |
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. |
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. |
class |
SSIteratedContractNetResponder
|
class |
SSResponderDispatcher
This behaviour is designed to be used together with the Single-Session responder protocol classes. |
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 | |
|---|---|
protected abstract Behaviour |
SSResponderDispatcher.createResponder(ACLMessage initiationMsg)
This method is responsible for creating a suitable Behaviour acting as responder
in the interaction protocol initiated by message initiationMsg. |
Behaviour |
TwoPhInitiator.getPhase(java.lang.String name)
|
| Methods in jade.proto with parameters of type Behaviour | |
|---|---|
protected void |
SSResponderDispatcher.addBehaviour(Behaviour b)
|
void |
TwoPhResponder.registerHandleAcceptProposal(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ACCEPTANCE state. |
void |
SSContractNetResponder.registerHandleAcceptProposal(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ACCEPT_PROPOSAL state. |
void |
ProposeInitiator.registerHandleAcceptProposal(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ACCEPT_PROPOSAL state. |
void |
SubscriptionInitiator.registerHandleAgree(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_AGREE state. |
void |
AchieveREInitiator.registerHandleAgree(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_AGREE state. |
void |
TwoPh2Initiator.registerHandleAllResponses(Behaviour b)
This method allows to register a user defined Behaviour in the
HANDLE_ALL_RESPONSES state. |
void |
TwoPh1Initiator.registerHandleAllResponses(Behaviour b)
This method allows to register a user defined Behaviour in the
HANDLE_ALL_RESPONSES state. |
void |
TwoPh0Initiator.registerHandleAllResponses(Behaviour b)
This method allows to register a user defined Behaviour in the
HANDLE_ALL_RESPONSES state. |
void |
SubscriptionInitiator.registerHandleAllResponses(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESPONSES state. |
void |
ProposeInitiator.registerHandleAllResponses(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESPONSES state. |
void |
ContractNetInitiator.registerHandleAllResponses(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESPONSES state. |
void |
AchieveREInitiator.registerHandleAllResponses(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESPONSES state. |
void |
IteratedAchieveREInitiator.registerHandleAllResultNotifications(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESULT_NOTIFICATIONS state. |
void |
ContractNetInitiator.registerHandleAllResultNotifications(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESULT_NOTIFICATIONS state. |
void |
AchieveREInitiator.registerHandleAllResultNotifications(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_ALL_RESULT_NOTIFICATIONS state. |
void |
SubscriptionResponder.registerHandleCancel(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_CANCEL state. |
void |
SSIteratedAchieveREResponder.registerHandleCancel(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_CANCEL state. |
void |
TwoPhResponder.registerHandleCfp(Behaviour b)
This method allows to register a user defined Behaviour
in the PREPARE_PROPOSE state. |
void |
SSContractNetResponder.registerHandleCfp(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_CFP 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 |
TwoPh2Initiator.registerHandleInform(Behaviour b)
This method allows to register a user defined Behaviour in the
HANDLE_INFORM state. |
void |
TwoPh1Initiator.registerHandleInform(Behaviour b)
This method allows to register a user defined Behaviour in the
HANDLE_INFORM state. |
void |
SubscriptionInitiator.registerHandleInform(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_INFORM state. |
void |
IteratedAchieveREInitiator.registerHandleInform(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 |
AchieveREInitiator.registerHandleInform(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_INFORM state. |
void |
ProposeInitiator.registerHandleNotUnderstood(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_NOT_UNDERSTOOD state. |
void |
TwoPh2Initiator.registerHandleOldResponse(Behaviour b)
This method allows to register a user defined Behaviour in the
HANDLE_OLD_RESPONSE state. |
void |
ProposeInitiator.registerHandleOutOfSequence(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_OUT_OF_SEQ state. |
void |
TwoPh0Initiator.registerHandlePropose(Behaviour b)
This method allows to register a user defined Behaviour in the
HANDLE_PROPOSE state. |
void |
ContractNetInitiator.registerHandlePropose(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_PROPOSE state. |
void |
TwoPhResponder.registerHandleQueryIf(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_QUERY_IF state. |
void |
SubscriptionInitiator.registerHandleRefuse(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_REFUSE state. |
void |
ContractNetInitiator.registerHandleRefuse(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_REFUSE state. |
void |
AchieveREInitiator.registerHandleRefuse(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_REFUSE state. |
void |
TwoPhResponder.registerHandleRejectProposal(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_REJECT state. |
void |
SSContractNetResponder.registerHandleRejectProposal(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_REJECT_PROPOSAL state. |
void |
ProposeInitiator.registerHandleRejectProposal(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_REJECT_PROPOSAL state. |
void |
SSIteratedAchieveREResponder.registerHandleRequest(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_REQUEST state. |
void |
AchieveREResponder.registerHandleRequest(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_REQUEST state. |
void |
SubscriptionResponder.registerHandleSubscription(Behaviour b)
This method allows to register a user defined Behaviour
in the HANDLE_SUBSCRIPTION state. |
void |
TwoPh0Initiator.registerPrepareCfps(Behaviour b)
This method allows to register a user-defined Behaviour in the
PREPARE_CFPS state. |
void |
ContractNetInitiator.registerPrepareCfps(Behaviour b)
This method allows to register a user-defined Behaviour
in the PREPARE_CFPS state. |
void |
TwoPh2Initiator.registerPrepareProposals(Behaviour b)
This method allows to register a user-defined Behaviour in the
PREPARE_ACCEPTANCES state. |
void |
TwoPh1Initiator.registerPrepareQueryIfs(Behaviour b)
This method allows to register a user-defined Behaviour in the
PREPARE_QUERYIFS state. |
void |
AchieveREInitiator.registerPrepareRequests(Behaviour b)
This method allows to register a user defined Behaviour
in the PREPARE_REQUESTS state. |
void |
SubscriptionResponder.registerPrepareResponse(Behaviour b)
Deprecated. Use registerHandleSubscription() instead. |
void |
ProposeResponder.registerPrepareResponse(Behaviour b)
This method allows to register a user defined Behaviour
in the PREPARE_RESPONSE state. |
void |
ContractNetResponder.registerPrepareResponse(Behaviour b)
Deprecated. Use registerHandleCfp() instead. |
void |
AchieveREResponder.registerPrepareResponse(Behaviour b)
Deprecated. Use registerHandleRequest() instead. |
void |
ContractNetResponder.registerPrepareResultNotification(Behaviour b)
Deprecated. Use registerHandleAcceptProposal() instead. |
void |
AchieveREResponder.registerPrepareResultNotification(Behaviour b)
This method allows to register a user defined Behaviour
in the PREPARE_RESULT_NOTIFICATION state. |
void |
SubscriptionInitiator.registerPrepareSubscriptions(Behaviour b)
This method allows to register a user defined Behaviour
in the PREPARE_SUBSCRIPTIONS 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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||