Examples of doClone()


Examples of jade.core.Agent.doClone()

    private void copyAgent(AID agentID, Location where, String newName) throws IMTPException, NotFoundException {
      Agent a = myContainer.acquireLocalAgent(agentID);
     
      if(a == null)
        throw new NotFoundException("Clone-Agent failed to find " + agentID);
      a.doClone(where, newName);
     
      myContainer.releaseLocalAgent(agentID);
    }
   
    // FIXME: adjust principal
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.