Package jsl.modeling.elements
Interface EventGeneratorActionIfc
-
- All Known Implementing Classes:
ChooseBetweenThreeStations.Arrivals
,ChooseBetweenTwoStations.Arrivals
,EventGeneratorCPP.Arrivals
,EventGeneratorDemo.Arrivals
,FastFoodRestaurant.CustomerArrival
,TandemQueue.Arrivals
,TandemQueue.Arrivals
,TestNHPP.EventListener
,TestNHPPPWConstant.EventListener
,TestNHPPPWConstantNonRepeat.EventListener
,TestNHPPPWConstantRepeat.EventListener
,TestNHPPPWLinear.EventListener
,TestNHPPPWLinearNonRepeat.EventListener
,TestNHPPPWLinearRepeat.EventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EventGeneratorActionIfc
This interface defines the action to occur for an EventGenerator. Implementors place code in the generate() method in order to provide actions that can occur when the event that was generated is executed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
generate(EventGenerator generator, JSLEvent event)
The reference to the generator is available to permit control over the EventGenerator within the defining code.
-
-
-
Method Detail
-
generate
void generate(EventGenerator generator, JSLEvent event)
The reference to the generator is available to permit control over the EventGenerator within the defining code. The event is also available.- Parameters:
generator
- the generatorevent
- the event
-
-