Activator_NT_Service Class Reference

Allows the Implementation Repository to act as a Windows NT Service. More...

#include <Activator_NT_Service.h>

Inheritance diagram for Activator_NT_Service:
Inheritance graph
[legend]
Collaboration diagram for Activator_NT_Service:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TAO_SYNCH_RECURSIVE_MUTEX MUTEX

Public Member Functions

virtual void handle_control (DWORD control_code)
virtual int handle_exception (ACE_HANDLE h)
virtual int svc (void)
 This is a virtual method inherited from ACE_NT_Service.

Friends

class ACE_Singleton< Activator_NT_Service, MUTEX >

Detailed Description

Allows the Implementation Repository to act as a Windows NT Service.


Member Typedef Documentation

typedef TAO_SYNCH_RECURSIVE_MUTEX Activator_NT_Service::MUTEX

Member Function Documentation

void Activator_NT_Service::handle_control ( DWORD  control_code  )  [virtual]

We override <handle_control> because it handles stop requests privately.

Handles the SERVICE_CONTROL_SHUTDOWN and SERVICE_CONTROL_STOP commands by shutting down the ORB. Otherwise ACE_NT_Service::handle_control handles the command.

Reimplemented from ACE_NT_Service.

int Activator_NT_Service::handle_exception ( ACE_HANDLE  h  )  [virtual]

We override <handle_exception> so a 'stop' control code can wake the reactor off of its wait.

Reimplemented from ACE_Event_Handler.

int Activator_NT_Service::svc ( void   )  [virtual]

This is a virtual method inherited from ACE_NT_Service.

We do almost the same thing as we do in run_standalone () except that we update the report_status after init.

Reimplemented from ACE_NT_Service.


Friends And Related Function Documentation

friend class ACE_Singleton< Activator_NT_Service, MUTEX > [friend]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2