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

CServiceCallbacks Class Reference

Inheritance diagram for CServiceCallbacks:
Collaboration diagram for CServiceCallbacks:

List of all members.

Public Member Functions

void OnServiceInstalled () override
void OnServiceRemoved () override
bool OnInstallPerformanceCounters (JetByteTools::Core::_tstring &errorMessage) override
bool OnRemovePerformanceCounters (JetByteTools::Core::_tstring &errorMessage) override
ServiceTypes::ExitCode InitialiseService (IShutdownService &shutdown, INotifyProgress &notify, IManageServiceNotifications &notificationManager, DWORD argc, const PTSTR *ppArgv) override=0
void ContinueService (INotifyProgress &notify) override
void PauseService (INotifyProgress &notify) override
void StopService (INotifyProgress &notify, ServiceTypes::StopReason stopReason) override=0
bool RestartService (INotifyProgress &notify, ULONG_PTR userData) override
void OnShutdownDuringStartup () override
ServiceTypes::ExitCode UninitialiseService (INotifyProgress &notify) override=0
void OnUserDefinedControlCode (DWORD controlCode, ULONG_PTR data1, ULONG_PTR data2) override
void OnParamChange () override
void OnNetBindingChange (DWORD notification) override
void OnSessionChange (DWORD notification, DWORD sessionId) override
bool OnDeviceQueryRemove (const DEV_BROADCAST_HDR &deviceData, IDispatchServiceControls &dispatcher) override
void OnDeviceEvent (DWORD deviceEvent, const DEV_BROADCAST_HDR &deviceData, IDispatchServiceControls &dispatcher) override
bool OnQueryHardwareProfileChange (IDispatchServiceControls &dispatcher) override
void OnHardwareProfileChange (DWORD changeEvent) override
void OnPowerEvent (DWORD powerEvent) override
bool OnPowerQuery (DWORD powerEvent, IDispatchServiceControls &dispatcher) override
void OnPowerSettingsChange (const POWERBROADCAST_SETTING &powerSettings, IDispatchServiceControls &dispatcher) override
ServiceTypes::ExitCode OnException (const JetByteTools::Core::CException &e) override
ServiceTypes::ExitCode OnException (const JetByteTools::Win32::CSEHException &e) override
ServiceTypes::ExitCode OnException (const std::exception &e) override
ServiceTypes::ExitCode OnException () override


Member Function Documentation

void OnServiceInstalled (  )  [override, virtual]

Implements IServiceCallbacks.

void OnServiceRemoved (  )  [override, virtual]

Implements IServiceCallbacks.

bool OnInstallPerformanceCounters ( JetByteTools::Core::_tstring errorMessage  )  [override, virtual]

Implements IServiceCallbacks.

bool OnRemovePerformanceCounters ( JetByteTools::Core::_tstring errorMessage  )  [override, virtual]

Implements IServiceCallbacks.

ServiceTypes::ExitCode InitialiseService ( IShutdownService shutdown,
INotifyProgress notify,
IManageServiceNotifications notificationManager,
DWORD  argc,
const PTSTR *  ppArgv 
) [override, pure virtual]

Implements IServiceCallbacks.

void ContinueService ( INotifyProgress notify  )  [override, virtual]

Implements IServiceCallbacks.

void PauseService ( INotifyProgress notify  )  [override, virtual]

Implements IServiceCallbacks.

void StopService ( INotifyProgress notify,
ServiceTypes::StopReason  stopReason 
) [override, pure virtual]

Implements IServiceCallbacks.

bool RestartService ( INotifyProgress notify,
ULONG_PTR  userData 
) [override, virtual]

Reimplemented from IServiceCallbacks.

void OnShutdownDuringStartup (  )  [override, virtual]

Implements IServiceCallbacks.

ServiceTypes::ExitCode UninitialiseService ( INotifyProgress notify  )  [override, pure virtual]

Implements IServiceCallbacks.

void OnUserDefinedControlCode ( DWORD  controlCode,
ULONG_PTR  data1,
ULONG_PTR  data2 
) [override, virtual]

Implements IServiceCallbacks.

void OnParamChange (  )  [override, virtual]

Implements IServiceCallbacks.

void OnNetBindingChange ( DWORD  notification  )  [override, virtual]

Implements IServiceCallbacks.

void OnSessionChange ( DWORD  notification,
DWORD  sessionId 
) [override, virtual]

Implements IServiceCallbacks.

bool OnDeviceQueryRemove ( const DEV_BROADCAST_HDR &  deviceData,
IDispatchServiceControls dispatcher 
) [override, virtual]

Implements IServiceCallbacks.

void OnDeviceEvent ( DWORD  deviceEvent,
const DEV_BROADCAST_HDR &  deviceData,
IDispatchServiceControls dispatcher 
) [override, virtual]

Implements IServiceCallbacks.

bool OnQueryHardwareProfileChange ( IDispatchServiceControls dispatcher  )  [override, virtual]

Implements IServiceCallbacks.

void OnHardwareProfileChange ( DWORD  changeEvent  )  [override, virtual]

Implements IServiceCallbacks.

void OnPowerEvent ( DWORD  powerEvent  )  [override, virtual]

Implements IServiceCallbacks.

bool OnPowerQuery ( DWORD  powerEvent,
IDispatchServiceControls dispatcher 
) [override, virtual]

Implements IServiceCallbacks.

void OnPowerSettingsChange ( const POWERBROADCAST_SETTING &  powerSettings,
IDispatchServiceControls dispatcher 
) [override, virtual]

Implements IServiceCallbacks.

ServiceTypes::ExitCode OnException ( const JetByteTools::Core::CException e  )  [override, virtual]

Implements IServiceCallbacks.

ServiceTypes::ExitCode OnException ( const JetByteTools::Win32::CSEHException e  )  [override, virtual]

Implements IServiceCallbacks.

ServiceTypes::ExitCode OnException ( const std::exception &  e  )  [override, virtual]

Implements IServiceCallbacks.

ServiceTypes::ExitCode OnException (  )  [override, virtual]

Implements IServiceCallbacks.


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