C# Class Topshelf.Runtime.Linux.LinuxServiceHost

Inheritance: Host, HostControl, IDisposable
Mostra file Open project: AlexMAS/Topshelf.Unix

Public Methods

Method Description
Dispose ( ) : void
HostControl ( ) : void
HostControl ( System.TimeSpan timeRemaining ) : void
LinuxServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : System
Run ( ) : TopshelfExitCode

Private Methods

Method Description
CatchUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
SetStopSignal ( ) : void
StartService ( ) : void
StopService ( ) : void
WaitStopSignal ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HostControl() public method

public HostControl ( ) : void
return void

HostControl() public method

public HostControl ( System.TimeSpan timeRemaining ) : void
timeRemaining System.TimeSpan
return void

LinuxServiceHost() public method

public LinuxServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : System
settings HostSettings
serviceHandle ServiceHandle
return System

Run() public method

public Run ( ) : TopshelfExitCode
return TopshelfExitCode