C# 클래스 Topshelf.Runtime.Linux.LinuxHostEnvironment

상속: HostEnvironment
파일 보기 프로젝트 열기: pruiz/Topshelf.Linux

공개 메소드들

메소드 설명
CreateServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : Topshelf.Host
InstallService ( InstallHostSettings settings, Action beforeInstall, System.Action afterInstall, System.Action beforeRollback, System.Action afterRollback ) : void
IsServiceInstalled ( string serviceName ) : bool
IsServiceStopped ( string serviceName ) : bool
LinuxHostEnvironment ( HostConfigurator configurator ) : System
RunAsAdministrator ( ) : bool
SendServiceCommand ( string serviceName, int command ) : void
StartService ( string serviceName, System.TimeSpan startTimeOut ) : void
StopService ( string serviceName, System.TimeSpan stopTimeOut ) : void
UninstallService ( HostSettings settings, System.Action beforeUninstall, System.Action afterUninstall ) : void

메소드 상세

CreateServiceHost() 공개 메소드

public CreateServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : Topshelf.Host
settings HostSettings
serviceHandle ServiceHandle
리턴 Topshelf.Host

InstallService() 공개 메소드

public InstallService ( InstallHostSettings settings, Action beforeInstall, System.Action afterInstall, System.Action beforeRollback, System.Action afterRollback ) : void
settings InstallHostSettings
beforeInstall Action
afterInstall System.Action
beforeRollback System.Action
afterRollback System.Action
리턴 void

IsServiceInstalled() 공개 메소드

public IsServiceInstalled ( string serviceName ) : bool
serviceName string
리턴 bool

IsServiceStopped() 공개 메소드

public IsServiceStopped ( string serviceName ) : bool
serviceName string
리턴 bool

LinuxHostEnvironment() 공개 메소드

public LinuxHostEnvironment ( HostConfigurator configurator ) : System
configurator HostConfigurator
리턴 System

RunAsAdministrator() 공개 메소드

public RunAsAdministrator ( ) : bool
리턴 bool

SendServiceCommand() 공개 메소드

public SendServiceCommand ( string serviceName, int command ) : void
serviceName string
command int
리턴 void

StartService() 공개 메소드

public StartService ( string serviceName, System.TimeSpan startTimeOut ) : void
serviceName string
startTimeOut System.TimeSpan
리턴 void

StopService() 공개 메소드

public StopService ( string serviceName, System.TimeSpan stopTimeOut ) : void
serviceName string
stopTimeOut System.TimeSpan
리턴 void

UninstallService() 공개 메소드

public UninstallService ( HostSettings settings, System.Action beforeUninstall, System.Action afterUninstall ) : void
settings HostSettings
beforeUninstall System.Action
afterUninstall System.Action
리턴 void