jadex.testcases.misc
Agent AMSTest
jadex.testcases.misc.AMSTest
jadex.adapter.standalone.planlib.AMS_standalone
- agent AMSTest- contains jadex.adapter.standalone.planlib.AMS_standalone
 
Test the AMS capability.
 AMS Test Agent.
 Tests the AMS plans.
 
| Plan Summary | 
| standard plan  | test()
 | 
 
| Event Summary | 
| messageevent  | inform_done(Class content-class, String ontology, String performative, String protocol)
 | 
| messageevent  | request_create_agent(Class content-class, String language, String ontology, String performative, String protocol, String reply-with)
 | 
| messageevent  | request_destroy_agent(Class content-class, String language, String ontology, String performative, String protocol, String reply-with)
 | 
| messageevent  | request_search_agents(Class content-class, String language, String ontology, String performative, String protocol, String reply-with)
 | 
| messageevent  | request_shutdown_platform(Class content-class, String language, String ontology, String performative, String protocol, String reply-with)
 | 
 
| Initial State Summary | 
| default initial state  | default
 | 
 
ams_create_agent
achievegoalref ams_create_agent
- 
- Parameters:
- parameterref agentidentifier
- parameterref ams
- parameterref configuration
- parameterref name
- parameterref type
- parameterset arguments
- Referenced from:
- ams_create_agentin capability- jadex.adapter.standalone.planlib.AMS_standalone
 
ams_destroy_agent
achievegoalref ams_destroy_agent
- 
- Parameters:
- parameterref agentidentifier
- parameterref ams
- Referenced from:
- ams_destroy_agentin capability- jadex.adapter.standalone.planlib.AMS_standalone
 
ams_search_agents
achievegoalref ams_search_agents
- 
- Parameters:
- parameterref ams
- parameterref constraints
- parameterref description
- parameterset results
- Referenced from:
- ams_search_agentsin capability- jadex.adapter.standalone.planlib.AMS_standalone
 
ams_shutdown_platform
achievegoalref ams_shutdown_platform
- 
- Parameters:
- parameterref ams
- Referenced from:
- ams_shutdown_platformin capability- jadex.adapter.standalone.planlib.AMS_standalone
 
test
standard plan test()
- 
- Plan body:
- new AMSTestPlan()
 
request_create_agent
messageevent request_create_agent(Class content-class, 
                                  String language, 
                                  String ontology, 
                                  String performative, 
                                  String protocol, 
                                  String reply-with)
- 
- Parameters:
- fixed parameter content-classDefault value:CreateAgent.class
- fixed parameter languageDefault value:SFipa.JAVA_XML
- fixed parameter ontologyDefault value:FIPAOntology.ONTOLOGY_NAME
- fixed parameter performativeDefault value:SFipa.REQUEST
- fixed parameter protocolDefault value:SFipa.PROTOCOL_REQUEST
- in parameter reply-withDefault value:SFipa.createUniqueId($scope.getAgentName())
- Event flags:
- direction: send- message type: fipa- random selection: false- meta-level reasoning: true- post to all: false
 
request_destroy_agent
messageevent request_destroy_agent(Class content-class, 
                                   String language, 
                                   String ontology, 
                                   String performative, 
                                   String protocol, 
                                   String reply-with)
- 
- Parameters:
- fixed parameter content-classDefault value:DestroyAgent.class
- fixed parameter languageDefault value:SFipa.JAVA_XML
- fixed parameter ontologyDefault value:FIPAOntology.ONTOLOGY_NAME
- fixed parameter performativeDefault value:SFipa.REQUEST
- fixed parameter protocolDefault value:SFipa.PROTOCOL_REQUEST
- in parameter reply-withDefault value:SFipa.createUniqueId($scope.getAgentName())
- Event flags:
- direction: send- message type: fipa- random selection: false- meta-level reasoning: true- post to all: false
 
request_search_agents
messageevent request_search_agents(Class content-class, 
                                   String language, 
                                   String ontology, 
                                   String performative, 
                                   String protocol, 
                                   String reply-with)
- 
- Parameters:
- fixed parameter content-classDefault value:SearchAgents.class
- fixed parameter languageDefault value:SFipa.JAVA_XML
- fixed parameter ontologyDefault value:FIPAOntology.ONTOLOGY_NAME
- fixed parameter performativeDefault value:SFipa.REQUEST
- fixed parameter protocolDefault value:SFipa.PROTOCOL_REQUEST
- in parameter reply-withDefault value:SFipa.createUniqueId($scope.getAgentName())
- Event flags:
- direction: send- message type: fipa- random selection: false- meta-level reasoning: true- post to all: false
 
request_shutdown_platform
messageevent request_shutdown_platform(Class content-class, 
                                       String language, 
                                       String ontology, 
                                       String performative, 
                                       String protocol, 
                                       String reply-with)
- 
- Parameters:
- fixed parameter content-classDefault value:ShutdownPlatform.class
- fixed parameter languageDefault value:SFipa.JAVA_XML
- fixed parameter ontologyDefault value:FIPAOntology.ONTOLOGY_NAME
- fixed parameter performativeDefault value:SFipa.REQUEST
- fixed parameter protocolDefault value:SFipa.PROTOCOL_REQUEST
- in parameter reply-withDefault value:SFipa.createUniqueId($scope.getAgentName())
- Event flags:
- direction: send- message type: fipa- random selection: false- meta-level reasoning: true- post to all: false
 
inform_done
messageevent inform_done(Class content-class, 
                         String ontology, 
                         String performative, 
                         String protocol)
- 
- Parameters:
- fixed parameter content-classDefault value:Done.class
- fixed parameter ontologyDefault value:FIPAOntology.ONTOLOGY_NAME
- fixed parameter performativeDefault value:SFipa.INFORM
- fixed parameter protocolDefault value:SFipa.PROTOCOL_REQUEST
- Event flags:
- direction: receive- message type: fipa- random selection: false- meta-level reasoning: true- post to all: false
 
default
default initial state default
- 
- Initial Plans:
- test
 
Submit a bug or feature
 For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.