Examples of moveAgent()


Examples of jade.core.management.AgentManagementSlice.moveAgent()

      public void moveAgent(AID id, Location where) throws Throwable {
        // Do as if it was a remote call from the main to allow
        // security checks to take place if needed
        jade.core.mobility.AgentMobilitySlice target = (jade.core.mobility.AgentMobilitySlice) getProxyToLocalSlice(jade.core.mobility.AgentMobilitySlice.NAME);
        // FIXME: set Principal and Credentials
        target.moveAgent(id, where);
      }

      public void cloneAgent(AID id, Location where, String newName) throws Throwable {
        // Do as if it was a remote call from the main to allow
        // security checks to take place if needed
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.