Package jade.domain.introspection

Examples of jade.domain.introspection.ChangedAgentOwnership


  public void changedAgentPrincipal(PlatformEvent ev) {
    ContainerID cid = ev.getContainer();
    AID name = ev.getAgent();

    ChangedAgentOwnership cao = new ChangedAgentOwnership();
    cao.setAgent(name);
    cao.setWhere(cid);
    cao.setFrom(ev.getOldOwnership());
    cao.setTo(ev.getNewOwnership());

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

TOP

Related Classes of jade.domain.introspection.ChangedAgentOwnership

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.