This method will send new event using the OnNewEvent(GeneratorEvent) method.
Namespace:
LeCouteauSuisse.APIAssembly: LeCouteauSuisseAPI (in LeCouteauSuisseAPI.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
C# |
---|
public abstract void Run() |
Visual Basic (Declaration) |
---|
Public MustOverride Sub Run |
Visual C++ |
---|
public: virtual void Run() abstract |
Implements
IGenerator..::.Run()()()
Remarks
This is the core of the generator, you must implement this method to send your own event. This method is call by the service and run inside a dedicated thread.
Use MustStop and WaitStop(Int32) to detect when stopping the generator.