The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CServiceInstanceManager Class Reference

Inheritance diagram for CServiceInstanceManager:
Collaboration diagram for CServiceInstanceManager:

List of all members.

Public Member Functions

 CServiceInstanceManager (ICommunicateWithSCM &scm, const Core::_tstring &name, const Core::_tstring &version, bool allowEmptyInstanceName=false, bool runInDebugModeIfNoCommandLineArgs=false)
 CServiceInstanceManager (ICommunicateWithSCM &scm, const Core::_tstring &name, const Core::_tstring &version, const Core::_tstring &defaultInstanceName, bool runInDebugModeIfNoCommandLineArgs=false)
 CServiceInstanceManager (const CServiceInstanceManager &rhs)
 ~CServiceInstanceManager () override
CServiceInstanceManageroperator= (const CServiceInstanceManager &rhs)
void AddService (IService &service)
void AddService (IService *pService)
void ProcessCommandLine ()
ServiceTypes::ExitCode Run ()
bool WaitForAllServicesToStop (JetByteTools::Milliseconds timeout)

Protected Member Functions

void InstallServices ()
bool InstallCounters (JetByteTools::Core::_tstring &message)
bool RemoveCounters (JetByteTools::Core::_tstring &message)
void RemoveServices ()
ServiceTypes::ExitCode StartServices ()
ServiceTypes::ExitCode DebugServices ()
void SetInstanceName (const JetByteTools::Core::_tstring &instanceName)
GetInstanceName () const
bool SupportsPerformanceCounters () const
JetByteTools::Core::_tstring GetServiceName () const
void ParseCommandLine ()
void MessageBox (const JetByteTools::Core::_tstring &message) const override

Constructor & Destructor Documentation

CServiceInstanceManager ( ICommunicateWithSCM scm,
const Core::_tstring name,
const Core::_tstring version,
bool  allowEmptyInstanceName = false,
bool  runInDebugModeIfNoCommandLineArgs = false 

CServiceInstanceManager ( ICommunicateWithSCM scm,
const Core::_tstring name,
const Core::_tstring version,
const Core::_tstring defaultInstanceName,
bool  runInDebugModeIfNoCommandLineArgs = false 

~CServiceInstanceManager (  )  [override]

Member Function Documentation

CServiceInstanceManager& operator= ( const CServiceInstanceManager rhs  ) 

void AddService ( IService service  )  [inherited]

void AddService ( IService pService  )  [inherited]

void ProcessCommandLine (  )  [inherited]

ServiceTypes::ExitCode Run (  )  [inherited]

bool WaitForAllServicesToStop ( JetByteTools::Milliseconds  timeout  )  [inherited]

void InstallServices (  )  [protected, inherited]

bool InstallCounters ( JetByteTools::Core::_tstring message  )  [protected, inherited]

bool RemoveCounters ( JetByteTools::Core::_tstring message  )  [protected, inherited]

void RemoveServices (  )  [protected, inherited]

ServiceTypes::ExitCode StartServices (  )  [protected, inherited]

ServiceTypes::ExitCode DebugServices (  )  [protected, inherited]

void SetInstanceName ( const JetByteTools::Core::_tstring instanceName  )  [protected, inherited]

const _tstring & GetInstanceName (  )  const [protected, inherited]

bool SupportsPerformanceCounters (  )  const [protected, inherited]

_tstring GetServiceName (  )  const [protected, inherited]

void ParseCommandLine (  )  [protected, inherited]

void MessageBox ( const JetByteTools::Core::_tstring message  )  const [override, protected, virtual, inherited]

Implements IDisplayMessageBox.

Generated on Sun Sep 12 19:09:59 2021 for The Server Framework - v7.4 by doxygen 1.5.3