The BaseGenerator type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BaseGenerator |
The constructor initialize the base class.
|
Methods
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. | |
| Equals | (Inherited from Object.) | |
| Finalize |
Terminate the class
(Overrides Object..::.Finalize()()().) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Initialize |
The method initialize the class. The service will call it once at starting when initialize all generators.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnNewEvent |
Raises the NewEvent event.
| |
| Run |
This method will send new event using the OnNewEvent(GeneratorEvent) method.
| |
| Stop |
This method is call by the service when stopping.
| |
| ToString | (Inherited from Object.) | |
| WaitStop | Overloaded. |
Fields
| Name | Description | |
|---|---|---|
| context |
The context of the generator.
| |
| disposed |
To use with the IDisposable interface
| |
| stopFlag |
The event to signal the service is stopping.
|
Properties
| Name | Description | |
|---|---|---|
| Context |
Get the GeneratorContext of this generator.
| |
| MustStop |
This property check if the generator must stop.
|
Events
| Name | Description | |
|---|---|---|
| NewEvent |
This EventHandler is used by the service to receive an alert when a new event is send
|