summaryrefslogtreecommitdiff
path: root/ace/Service_Manager.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-03-12 00:48:25 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-03-12 00:48:25 +0000
commit2472c2edb5d76f17729537f266fccbae9a2daffa (patch)
treedd99a8105428d43eb691366e0d3201e3a3fea5fd /ace/Service_Manager.cpp
parent2ef5c80a465c3b404d30d883845a78bf552a3576 (diff)
downloadATCD-2472c2edb5d76f17729537f266fccbae9a2daffa.tar.gz
ChangeLogTag:Sun Mar 11 18:41:08 2001 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Service_Manager.cpp')
-rw-r--r--ace/Service_Manager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Service_Manager.cpp b/ace/Service_Manager.cpp
index 93aa89f1f22..f3f8d83d99f 100644
--- a/ace/Service_Manager.cpp
+++ b/ace/Service_Manager.cpp
@@ -200,7 +200,8 @@ ACE_Service_Manager::list_services (void)
return 0;
}
-// Trigger a remote reconfiguration of the Service Configurator.
+// Trigger a reconfiguration of the Service Configurator via its
+// svc.conf file.
int
ACE_Service_Manager::reconfigure_services (void)
@@ -239,10 +240,14 @@ ACE_Service_Manager::process_request (ACE_TCHAR *request)
*p = '\0';
if (ACE_OS::strcmp (request, ACE_LIB_TEXT ("help")) == 0)
+ // Return a list of the configured services.
this->list_services ();
else if (ACE_OS::strcmp (request, ACE_LIB_TEXT ("reconfigure") )== 0)
+ // Trigger a reconfiguration by re-reading the local <svc.conf> file.
this->reconfigure_services ();
else
+ // Just process a single request passed in via the socket
+ // remotely.
ACE_Service_Config::process_directive (request);
// Additional management services may be handled here...