C# 클래스 Synoptic.Service.WindowsService

상속: System.ServiceProcess.ServiceBase
파일 보기 프로젝트 열기: bitdiff/synoptic

공개 메소드들

메소드 설명
Install ( ) : void
IsInstalled ( ) : bool
Uninstall ( ) : void
WindowsService ( IServiceDaemon daemon, IWindowsServiceConfiguration configuration ) : System
WindowsService ( string serviceName, IServiceDaemon daemon ) : System
WindowsService ( string serviceName, IServiceDaemon daemon, Action configure ) : System

보호된 메소드들

메소드 설명
OnShutdown ( ) : void
OnStart ( string args ) : void
OnStop ( ) : void

비공개 메소드들

메소드 설명
ModifyImagePath ( object sender, System.Configuration.Install.InstallEventArgs e ) : void
OnEvent ( EventHandler handle, Synoptic.Service.ErrorEventArgs e ) : void
OnEvent ( EventHandler handle, Synoptic.Service.WindowsServiceEventArgs e ) : void
SetConfiguration ( string serviceName, Action configure ) : IWindowsServiceConfiguration
SetInstallers ( System.Configuration.Install.Installer installer ) : void

메소드 상세

Install() 공개 메소드

public Install ( ) : void
리턴 void

IsInstalled() 공개 메소드

public IsInstalled ( ) : bool
리턴 bool

OnShutdown() 보호된 메소드

protected OnShutdown ( ) : void
리턴 void

OnStart() 보호된 메소드

protected OnStart ( string args ) : void
args string
리턴 void

OnStop() 보호된 메소드

protected OnStop ( ) : void
리턴 void

Uninstall() 공개 메소드

public Uninstall ( ) : void
리턴 void

WindowsService() 공개 메소드

public WindowsService ( IServiceDaemon daemon, IWindowsServiceConfiguration configuration ) : System
daemon IServiceDaemon
configuration IWindowsServiceConfiguration
리턴 System

WindowsService() 공개 메소드

public WindowsService ( string serviceName, IServiceDaemon daemon ) : System
serviceName string
daemon IServiceDaemon
리턴 System

WindowsService() 공개 메소드

public WindowsService ( string serviceName, IServiceDaemon daemon, Action configure ) : System
serviceName string
daemon IServiceDaemon
configure Action
리턴 System