Examples of DebugOn


Examples of jade.domain.JADEAgentManagement.DebugOn

    }
   
    protected ACLMessage prepareResultNotification(ACLMessage request, ACLMessage response) { 
      if (aa instanceof DebugOn) {
        // DEBUG ON
        DebugOn requestDebugOn = (DebugOn) aa;
        // Start debugging existing agents.
        // Put non existing agents in the preload map. We will start
        // debug them as soon as they start.
        List agentsToDebug = requestDebugOn.getCloneOfDebuggedAgents();                     
        for (int i=0;i<agentsToDebug.size();i++) {
          AID aid = (AID)agentsToDebug.get(i);
          if (allAgents.contains(aid)) {
            addAgent(aid);
          }
View Full Code Here

Examples of jade.domain.JADEAgentManagement.DebugOn

 
  private void requestDebugOn(AID name) {
    try {
      ACLMessage msg = getRequest();
      msg.setOntology(JADEManagementOntology.NAME);
      DebugOn dbgOn = new DebugOn();
      dbgOn.setDebugger(getAID());
      dbgOn.addDebuggedAgents(name);
      Action a = new Action();
      a.setActor(getAMS());
      a.setAction(dbgOn);
     
      getContentManager().fillContent(msg, a);
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.