getContentManager().registerLanguage(codec, FIPANames.ContentLanguage.FIPA_SL1);
getContentManager().registerLanguage(codec, FIPANames.ContentLanguage.FIPA_SL2);
getContentManager().registerLanguage(codec, FIPANames.ContentLanguage.FIPA_SL);
// The behaviour managing FIPA requests
MessageTemplate mtF = MessageTemplate.and(MessageTemplate.MatchPerformative(ACLMessage.REQUEST), MessageTemplate.MatchOntology(FIPAManagementVocabulary.NAME));
Behaviour fipaResponderB = new AMSFipaAgentManagementBehaviour(this, mtF);
addBehaviour(fipaResponderB);
// The behaviour managing JADE requests
// MobilityOntology is matched for JADE 2.5 Backward compatibility
MessageTemplate mtJ = MessageTemplate.and(MessageTemplate.MatchPerformative(ACLMessage.REQUEST), MessageTemplate.or(MessageTemplate.MatchOntology(JADEManagementVocabulary.NAME), MessageTemplate.MatchOntology(jade.domain.mobility.MobilityOntology.NAME)));
Behaviour jadeResponderB = new AMSJadeAgentManagementBehaviour(this, mtJ);
addBehaviour(jadeResponderB);
// The behaviours dealing with platform tools
Behaviour registerTool = new RegisterToolBehaviour();