C# Class Synoptic.Service.WindowsService

Inheritance: System.ServiceProcess.ServiceBase
Mostrar archivo Open project: bitdiff/synoptic

Public Methods

Method Description
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

Protected Methods

Method Description
OnShutdown ( ) : void
OnStart ( string args ) : void
OnStop ( ) : void

Private Methods

Method Description
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

Method Details

Install() public method

public Install ( ) : void
return void

IsInstalled() public method

public IsInstalled ( ) : bool
return bool

OnShutdown() protected method

protected OnShutdown ( ) : void
return void

OnStart() protected method

protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

protected OnStop ( ) : void
return void

Uninstall() public method

public Uninstall ( ) : void
return void

WindowsService() public method

public WindowsService ( IServiceDaemon daemon, IWindowsServiceConfiguration configuration ) : System
daemon IServiceDaemon
configuration IWindowsServiceConfiguration
return System

WindowsService() public method

public WindowsService ( string serviceName, IServiceDaemon daemon ) : System
serviceName string
daemon IServiceDaemon
return System

WindowsService() public method

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