C# Class Centreon_EventLog_2_Syslog.Program

Afficher le fichier Open project: centreon/centreon-E2S

Méthodes publiques

Свойство Type Description
lastExecTime System.DateTime
maxExecTime System.DateTime
nextCheck System.DateTime

Méthodes publiques

Méthode Description
Program ( ) : System

Simple constructor

Start ( ) : void

Start process: 1 - Control if process already exist and quit if exist 2 - Loop while process not receive order to stop it 3 - Load configuration 4 - Launch thread to parse event log 5 - Wait x seconds berore goto 3

Private Methods

Méthode Description
LoadConfiguration ( ) : void

Main load XML configuration file call sub load XML configuration file functions

LoadConfigurationProgram ( XmlNode node ) : void

Load program configuration from specific XML node

LoadFilters ( XmlNode node ) : void

Load filters to find in event log

LoadSyslogConfiguration ( XmlNode node ) : void

Load Syslog server parameters

ProcessAlreadyExist ( ) : bool

Test if exist process exist

StartThread ( ) : void

Start one thread ThreadFilter by event log name

Method Details

Program() public méthode

Simple constructor
public Program ( ) : System
Résultat System

Start() public méthode

Start process: 1 - Control if process already exist and quit if exist 2 - Loop while process not receive order to stop it 3 - Load configuration 4 - Launch thread to parse event log 5 - Wait x seconds berore goto 3
public Start ( ) : void
Résultat void

Property Details

lastExecTime public_oe static_oe property

public static DateTime,System lastExecTime
Résultat System.DateTime

maxExecTime public_oe static_oe property

public static DateTime,System maxExecTime
Résultat System.DateTime

nextCheck public_oe static_oe property

public static DateTime,System nextCheck
Résultat System.DateTime