Package jade.domain.JADEAgentManagement

Examples of jade.domain.JADEAgentManagement.CreateAgent.addArguments()


   
    CreateAgent ca = new CreateAgent();
    String localName = myAgent.getLocalName()+"-helper-on-"+containerName;
    ca.setAgentName(localName);
    ca.setClassName("jade.tools.logging.LogHelperAgent");
    ca.addArguments(myAgent.getAID());
    ca.setContainer(new ContainerID(containerName, null));
   
    Action act = new Action();
    act.setActor(myAgent.getAMS());
    act.setAction(ca);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.