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);
}
}