Package jade.domain.introspection

Examples of jade.domain.introspection.EventRecord


    String name = cid.getName();

    RemovedContainer rc = new RemovedContainer();
    rc.setContainer(cid);

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


    AddedMTP amtp = new AddedMTP();
    amtp.setAddress(address);
    amtp.setProto(proto);
    amtp.setWhere(cid);

    EventRecord er = new EventRecord(amtp, localContainer);
    er.setWhen(ev.getTime());
    eventQueue.put(er);

    if (theAms != null) {
      // The PlatformDescription has changed --> Generate a suitable event
      PlatformDescription ap = new PlatformDescription();
      ap.setPlatform(theAms.getDescriptionAction(null));
      er = new EventRecord(ap, localContainer);
      er.setWhen(ev.getTime());
      eventQueue.put(er);
    }
  }
View Full Code Here

    RemovedMTP rmtp = new RemovedMTP();
    rmtp.setAddress(address);
    rmtp.setProto(proto);
    rmtp.setWhere(cid);

    EventRecord er = new EventRecord(rmtp, localContainer);
    er.setWhen(ev.getTime());
    eventQueue.put(er);

    if (theAms != null) {
      // The PlatformDescription has changed --> Generate a suitable event
      PlatformDescription ap = new PlatformDescription();
      ap.setPlatform(theAms.getDescriptionAction(null));
      er = new EventRecord(ap, localContainer);
      er.setWhen(ev.getTime());
      eventQueue.put(er);
    }
  }
View Full Code Here

TOP

Related Classes of jade.domain.introspection.EventRecord

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.