public class JadeFIPAAServProfile extends java.lang.Object implements AlignmentServiceProfile
Modifier and Type | Field and Description |
---|---|
private jade.wrapper.AgentController |
algagentcontroller |
(package private) static org.slf4j.Logger |
logger |
private jade.wrapper.AgentContainer |
mc |
Constructor and Description |
---|
JadeFIPAAServProfile() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.String prefix)
Tells if it accept requests with this prefix
|
void |
close()
Shutdown the Service and undeclare it from any registery
|
void |
init(java.util.Properties params,
AServProtocolManager manager)
Creates the Service object and declares it after any
required registry
|
java.lang.String |
process(java.lang.String uri,
java.lang.String prefix,
java.lang.String perf,
java.util.Properties header,
java.util.Properties params)
Process a particular request
|
static final org.slf4j.Logger logger
private jade.wrapper.AgentContainer mc
private jade.wrapper.AgentController algagentcontroller
public void init(java.util.Properties params, AServProtocolManager manager) throws AServException
AlignmentServiceProfile
init
in interface AlignmentServiceProfile
AServException
- when something goes wrongpublic boolean accept(java.lang.String prefix)
AlignmentServiceProfile
accept
in interface AlignmentServiceProfile
public java.lang.String process(java.lang.String uri, java.lang.String prefix, java.lang.String perf, java.util.Properties header, java.util.Properties params)
AlignmentServiceProfile
process
in interface AlignmentServiceProfile
public void close()
AlignmentServiceProfile
close
in interface AlignmentServiceProfile
(C) INRIA & friends, 2003-2020