C# 클래스 Centreon_EventLog_2_Syslog.Program

파일 보기 프로젝트 열기: centreon/centreon-E2S

공개 프로퍼티들

프로퍼티 타입 설명
lastExecTime System.DateTime
maxExecTime System.DateTime
nextCheck System.DateTime

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Program() 공개 메소드

Simple constructor
public Program ( ) : System
리턴 System

Start() 공개 메소드

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
리턴 void

프로퍼티 상세

lastExecTime 공개적으로 정적으로 프로퍼티

public static DateTime,System lastExecTime
리턴 System.DateTime

maxExecTime 공개적으로 정적으로 프로퍼티

public static DateTime,System maxExecTime
리턴 System.DateTime

nextCheck 공개적으로 정적으로 프로퍼티

public static DateTime,System nextCheck
리턴 System.DateTime