DotNX::Core::ServiceBase Class Reference

Windows service helper class. More...

Inheritance diagram for DotNX::Core::ServiceBase:

DotNX::Core::ThreadedServiceBase

List of all members.

Public Member Functions

abstract void Start (string[] args)
 The service start method, to be implemented in subclasses.
abstract void Stop ()
 The service stop method, to be implemented in subclasses.

Protected Member Functions

 ServiceBase (EventLog el)
 Constructor.
void Log (string msg)
 Logs a message to the service's event log.


Detailed Description

Windows service helper class.


Constructor & Destructor Documentation

DotNX::Core::ServiceBase::ServiceBase ( EventLog  el  )  [protected]

Constructor.

Parameters:
el A possibly null event log.


Member Function Documentation

abstract void DotNX::Core::ServiceBase::Start ( string[]  args  )  [pure virtual]

The service start method, to be implemented in subclasses.

Parameters:
args The service arguments.

Implemented in DotNX::Core::ThreadedServiceBase.

abstract void DotNX::Core::ServiceBase::Stop (  )  [pure virtual]

The service stop method, to be implemented in subclasses.

Implemented in DotNX::Core::ThreadedServiceBase.

void DotNX::Core::ServiceBase::Log ( string  msg  )  [protected]

Logs a message to the service's event log.

If the log is null it doesn't do anything.

Parameters:
msg The message to be logged.


The documentation for this class was generated from the following file:

SourceForge.net Logo
Generated on Sat Oct 18 14:13:25 2008 for .Nick's 0.1.0 by  doxygen 1.5.7.1