diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-05 20:32:03 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-05 20:32:03 +0000 |
commit | 48ba6d84ba0e6f81394ddb7705d6f2e85366edbc (patch) | |
tree | b11b7495282850ab2738d6db331dec39d91f5faa /ace/Service_Manager.h | |
parent | 070f8e65e4e1e07467d3e24143662afa3bc37249 (diff) | |
download | ATCD-48ba6d84ba0e6f81394ddb7705d6f2e85366edbc.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Service_Manager.h')
-rw-r--r-- | ace/Service_Manager.h | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/ace/Service_Manager.h b/ace/Service_Manager.h index 8f05c30aa67..a0883c75a63 100644 --- a/ace/Service_Manager.h +++ b/ace/Service_Manager.h @@ -26,13 +26,27 @@ class ACE_Export ACE_Service_Manager : public ACE_Service_Object { // = TITLE - // Provide a standard service that returns a list of all - // services in the Service Repository. + // Provide a standard ACE service for managing all the services + // configured in an <ACE_Service_Repository>. + // + // = DESCRIPTION + // This public: + // = Initialization and termination hooks. ACE_Service_Manager (void); + // Constructor. + ~ACE_Service_Manager (void); - virtual int list_services (void); + // Destructor. + +protected: + // = Perform the various meta-services. virtual int reconfigure_services (void); + // Trigger a remote reconfiguration of the Service Configurator. + + virtual int list_services (void); + // Determine all the services offered by this daemon and return the + // information back to the client. // = Dynamic linking hooks. virtual int init (int argc, ASYS_TCHAR *argv[]); @@ -59,10 +73,20 @@ private: virtual int handle_signal (int signum, siginfo_t *, ucontext_t *); ACE_SOCK_Stream client_stream_; + // Connection to the client (we only support one client connection + // at a time). + ACE_SOCK_Acceptor acceptor_; + // Acceptor instance. + int debug_; + // Keep track of the debugging level. + int signum_; + // The signal used to trigger reconfiguration. + static u_short DEFAULT_PORT_; + // Default port for the Acceptor to listen on. }; #if defined (__ACE_INLINE__) |