Class TaskThreadSimEvent

All Implemented Interfaces:
Comparable<SimulationEvent>

public final class TaskThreadSimEvent extends TaskSimulationEvent
Simulation event for task threads.
  • Method Details

    • cancel

      public boolean cancel()
      Cancel a thread.
      Overrides:
      cancel in class SimulationEvent
      Returns:
      true if the task can be canceled; false otherwise.
    • getSimulation

      public Simulation getSimulation()
      Get the simulation.
      Returns:
      the simulation
    • processEvent

      protected void processEvent()
      Description copied from class: SimulationEvent
      Process an event. This method will be invoked by the simulation scheduler when the event should occur. Subclasses must implement it if any processing is to occur.
      Specified by:
      processEvent in class SimulationEvent