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_agent
in capability jadex.adapter.standalone.planlib.AMS_standalone
ams_destroy_agent
achievegoalref ams_destroy_agent
- Parameters:
- parameterref
agentidentifier
- parameterref
ams
- Referenced from:
ams_destroy_agent
in 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_agents
in capability jadex.adapter.standalone.planlib.AMS_standalone
ams_shutdown_platform
achievegoalref ams_shutdown_platform
- Parameters:
- parameterref
ams
- Referenced from:
ams_shutdown_platform
in 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-class
Default value:
CreateAgent.class
- fixed parameter
language
Default value:
SFipa.JAVA_XML
- fixed parameter
ontology
Default value:
FIPAOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.REQUEST
- fixed parameter
protocol
Default value:
SFipa.PROTOCOL_REQUEST
- in parameter
reply-with
Default 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-class
Default value:
DestroyAgent.class
- fixed parameter
language
Default value:
SFipa.JAVA_XML
- fixed parameter
ontology
Default value:
FIPAOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.REQUEST
- fixed parameter
protocol
Default value:
SFipa.PROTOCOL_REQUEST
- in parameter
reply-with
Default 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-class
Default value:
SearchAgents.class
- fixed parameter
language
Default value:
SFipa.JAVA_XML
- fixed parameter
ontology
Default value:
FIPAOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.REQUEST
- fixed parameter
protocol
Default value:
SFipa.PROTOCOL_REQUEST
- in parameter
reply-with
Default 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-class
Default value:
ShutdownPlatform.class
- fixed parameter
language
Default value:
SFipa.JAVA_XML
- fixed parameter
ontology
Default value:
FIPAOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.REQUEST
- fixed parameter
protocol
Default value:
SFipa.PROTOCOL_REQUEST
- in parameter
reply-with
Default 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-class
Default value:
Done.class
- fixed parameter
ontology
Default value:
FIPAOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.INFORM
- fixed parameter
protocol
Default 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.