diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-19 14:39:58 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-19 14:39:58 +0000 |
commit | 89672e07dfcc84f3211643214a5dd6ac3400abe6 (patch) | |
tree | ac24fe9cc23e87dcd77f9e50ada362635f8eb4db | |
parent | 0bc8deefa31f7828c87f194b47cabb1e3bf939bc (diff) | |
download | ATCD-89672e07dfcc84f3211643214a5dd6ac3400abe6.tar.gz |
ChangeLogTag:Thu Aug 19 09:34:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
-rw-r--r-- | ChangeLog-99b | 9 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | ace/Service_Config.h | 9 | ||||
-rw-r--r-- | examples/Reactor/WFMO_Reactor/test_console_input.cpp | 3 |
4 files changed, 17 insertions, 5 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b index cea112fbe1b..7339c398473 100644 --- a/ChangeLog-99b +++ b/ChangeLog-99b @@ -1,3 +1,12 @@ +Thu Aug 19 09:34:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/Service_Config.h: Moved the process_directives() method + used to parse the svc.conf files out of the protected part of + the class to the public part so that application programmers can + call this directly to reconfigure services from the svc.conf + files. Thanks to John Mink <John.Mink@nl.origin-it.com> for + suggesting this. + Wed Aug 18 22:45:24 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu> * ace/WFMO_Reactor.h, @@ -728,6 +728,7 @@ Walter Welzel <Walter.Welzel@med.siemens.de> Anthony Shipman <als@aaii.oz.au> Tobin Bergen-Hill <tbhill@dctd.saic.com> Toshio Hori <toshi@etl.go.jp> +John Mink <John.Mink@nl.origin-it.com> I would particularly like to thank Paul Stephenson, who worked with me at Ericsson. Paul devised the recursive Makefile scheme that diff --git a/ace/Service_Config.h b/ace/Service_Config.h index 63c9b751318..45f733cd0b0 100644 --- a/ace/Service_Config.h +++ b/ace/Service_Config.h @@ -321,14 +321,15 @@ public: // Process one service configuration <directive>, which is passed as // a string. Returns the number of errors that occurred. + static int process_directives (void); + // Process (or re-process) service configuration requests that are + // provided in the svc.conf file(s). Returns the number of errors + // that occurred. + static void handle_signal (int sig, siginfo_t *, ucontext_t *); // Handles signals to trigger reconfigurations. protected: - static int process_directives (void); - // Process service configuration requests that are provided in the - // svc.config file(s). Returns the number of errors that occurred. - static int process_commandline_directives (void); // Process service configuration requests that were provided on the // command-line. Returns the number of errors that occurred. diff --git a/examples/Reactor/WFMO_Reactor/test_console_input.cpp b/examples/Reactor/WFMO_Reactor/test_console_input.cpp index 650e2a93d79..75168bde9ee 100644 --- a/examples/Reactor/WFMO_Reactor/test_console_input.cpp +++ b/examples/Reactor/WFMO_Reactor/test_console_input.cpp @@ -37,7 +37,8 @@ Event_Handler::Event_Handler (ACE_Reactor &reactor) if (this->reactor ()->register_handler (this, ACE_STDIN) != 0) - ACE_ERROR ((LM_ERROR, "Registration with Reactor could not be done\n")); + ACE_ERROR ((LM_ERROR, + "Registration with Reactor could not be done\n")); } int |