C# Class Ipop.Dht.Service.WindowsService

Inheritance: System.ServiceProcess.ServiceBase
Show file Open project: pstjuste/brunet

Protected Properties

Property Type Description
_lock object
_running bool
_thread Thread

Public Methods

Method Description
Main ( ) : void
WindowsService ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnContinue ( ) : void
OnCustomCommand ( int command ) : void
OnPause ( ) : void
OnPowerEvent ( PowerBroadcastStatus status ) : bool
OnSessionChange ( System.ServiceProcess.SessionChangeDescription description ) : void
OnShutdown ( ) : void
OnStart ( string args ) : void
OnStop ( ) : void
Start ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Main() public static method

public static Main ( ) : void
return void

OnContinue() protected method

protected OnContinue ( ) : void
return void

OnCustomCommand() protected method

protected OnCustomCommand ( int command ) : void
command int
return void

OnPause() protected method

protected OnPause ( ) : void
return void

OnPowerEvent() protected method

protected OnPowerEvent ( PowerBroadcastStatus status ) : bool
status PowerBroadcastStatus
return bool

OnSessionChange() protected method

protected OnSessionChange ( System.ServiceProcess.SessionChangeDescription description ) : void
description System.ServiceProcess.SessionChangeDescription
return void

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

Start() protected method

protected Start ( ) : void
return void

WindowsService() public method

public WindowsService ( ) : System
return System

Property Details

_lock protected property

protected object _lock
return object

_running protected property

protected bool _running
return bool

_thread protected property

protected Thread _thread
return Thread