Package jade.domain.introspection

Examples of jade.domain.introspection.MovedAgent


  public void movedAgent(PlatformEvent ev) {
    ContainerID from = ev.getContainer();
    ContainerID to = ev.getNewContainer();
    AID agentID = ev.getAgent();

    MovedAgent ma = new MovedAgent();
    ma.setAgent(agentID);
    ma.setFrom(from);
    ma.setTo(to);

    EventRecord er = new EventRecord(ma, localContainer);
    er.setWhen(ev.getTime());
    eventQueue.put(er);
  }
View Full Code Here

TOP

Related Classes of jade.domain.introspection.MovedAgent

Copyright © 2018 www.massapicom. 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.