C# Class Centreon_EventLog_2_Syslog.ThreadFilter

Afficher le fichier Open project: centreon/centreon-E2S Class Usage Examples

Méthodes publiques

Méthode Description
ThreadFilter ( String logName, SyslogServer &syslogServer, ArrayList iFilters, ArrayList eFilters, Debug &debug, System.DateTime lastExecTime, System.DateTime maxExecTime, ManualResetEvent doneEvent ) : System

Complex constructor for filter thread

ThreadLoop ( Object threadContext ) : void

Scan Windows eventLog for find event like rules and send it to a syslog server

Private Methods

Méthode Description
TestEvent ( System.Diagnostics.EventLogEntry actualEventLog, ArrayList filters ) : System.Boolean

Control if event corresponds to a filter

Method Details

ThreadFilter() public méthode

Complex constructor for filter thread
public ThreadFilter ( String logName, SyslogServer &syslogServer, ArrayList iFilters, ArrayList eFilters, Debug &debug, System.DateTime lastExecTime, System.DateTime maxExecTime, ManualResetEvent doneEvent ) : System
logName String EventLog name
syslogServer SyslogServer
iFilters System.Collections.ArrayList
eFilters System.Collections.ArrayList
debug Debug Permit to write debug lines
lastExecTime System.DateTime Min time search
maxExecTime System.DateTime Mas time search
doneEvent System.Threading.ManualResetEvent ManualResetEvent object to know if process if complit
Résultat System

ThreadLoop() public méthode

Scan Windows eventLog for find event like rules and send it to a syslog server
public ThreadLoop ( Object threadContext ) : void
threadContext Object ManualResetEvent object
Résultat void