Examples of DebugOff


Examples of jade.domain.JADEAgentManagement.DebugOff

          }
        }                                   
      }
      else {
        // DEBUG OFF
        DebugOff requestDebugOff = (DebugOff) aa;
        List agentsToDebug = requestDebugOff.getCloneOfDebuggedAgents();                     
        for (int i=0;i<agentsToDebug.size();i++) {
          AID aid = (AID)agentsToDebug.get(i);
          removeAgent(aid);
        }
      }
View Full Code Here

Examples of jade.domain.JADEAgentManagement.DebugOff

        slowAgents.remove(name);
        proceed(name);
       
        ACLMessage msg = getRequest();
        msg.setOntology(JADEManagementOntology.NAME);
        DebugOff dbgOff = new DebugOff();
        dbgOff.setDebugger(getAID());
        dbgOff.addDebuggedAgents(name);
        Action a = new Action();
        a.setActor(getAMS());
        a.setAction(dbgOff);
       
        getContentManager().fillContent(msg, a);
View Full Code Here

Examples of jade.domain.JADEAgentManagement.DebugOff

  public void toolTakeDown() {
    // Stop debugging all the agents
    if(!windowMap.isEmpty()) {
      ACLMessage msg = getRequest();
      msg.setOntology(JADEManagementOntology.NAME);
      DebugOff dbgOff = new DebugOff();
      dbgOff.setDebugger(getAID());
      Iterator it = windowMap.keySet().iterator();
      while(it.hasNext()) {
        AID id = (AID)it.next();
        dbgOff.addDebuggedAgents(id);
      }
     
      Action a = new Action();
      a.setActor(getAMS());
      a.setAction(dbgOff);
View Full Code Here

Examples of jade.domain.JADEAgentManagement.DebugOff

        slowAgents.remove(amsId);
        proceed(amsId);
       
        ACLMessage msg = getRequest();
        msg.setOntology(JADEManagementOntology.NAME);
        DebugOff dbgOff = new DebugOff();
        dbgOff.setDebugger(getAID());
        dbgOff.addDebuggedAgents(amsId);
        Action a = new Action();
        a.setActor(getAMS());
        a.setAction(dbgOff);
       
        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.