summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-19 14:39:58 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-19 14:39:58 +0000
commit89672e07dfcc84f3211643214a5dd6ac3400abe6 (patch)
treeac24fe9cc23e87dcd77f9e50ada362635f8eb4db
parent0bc8deefa31f7828c87f194b47cabb1e3bf939bc (diff)
downloadATCD-89672e07dfcc84f3211643214a5dd6ac3400abe6.tar.gz
ChangeLogTag:Thu Aug 19 09:34:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
-rw-r--r--ChangeLog-99b9
-rw-r--r--THANKS1
-rw-r--r--ace/Service_Config.h9
-rw-r--r--examples/Reactor/WFMO_Reactor/test_console_input.cpp3
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,
diff --git a/THANKS b/THANKS
index 8ac70341de1..e4407af95c3 100644
--- a/THANKS
+++ b/THANKS
@@ -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