Examples of SimEvent


Examples of events.SimEvent

    eventQueue = new TreeSet<SimEvent>(new CmpEvent());
  }
 
  public void run() {
    while (!eventQueue.isEmpty()) {
      SimEvent e = eventQueue.pollFirst();
      assert e.getTime() >= currentTime;
      currentTime = e.getTime();
      e.run();
    }
  }
View Full Code Here

Examples of jmt.engine.simEngine.SimEvent

  public NetNode(String name) {
    super(name);
    InputNodes = new NodeList();
    OutputNodes = new NodeList();
    inputSection = serviceSection = outputSection = null;
    receiveBuffer = new SimEvent();
    stopped = false;
  }
View Full Code Here

Examples of org.mitre.sim.SimEvent

//      info("about to wait");
      this.waitForTime(localInterval * 0.9999999999);
      simulation.pauseSimulation();
//      info("calling listener");
      if (localListener != null) localListener.simEventOccurred(
          new SimEvent(this, getTimeNow()));
    }
  }
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.