#include <Activator_NT_Service.h>
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 > |
typedef TAO_SYNCH_RECURSIVE_MUTEX Activator_NT_Service::MUTEX |
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.
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.
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.
friend class ACE_Singleton< Activator_NT_Service, MUTEX > [friend] |