diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-19 13:26:23 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-19 13:26:23 +0000 |
commit | 63bd3a71e270708c2cff009bafda6919a001f8ca (patch) | |
tree | f604daa114b84125415f83c0c0c4bba2b36a875f /examples | |
parent | a866a2be79a1d19faf21a941c99f8260814086d7 (diff) | |
download | ATCD-63bd3a71e270708c2cff009bafda6919a001f8ca.tar.gz |
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Service_Configurator/Misc/README | 5 | ||||
-rw-r--r-- | examples/Service_Configurator/Misc/Timer_Service.cpp | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/examples/Service_Configurator/Misc/README b/examples/Service_Configurator/Misc/README index 2a31daa36f2..d02bf5fed62 100644 --- a/examples/Service_Configurator/Misc/README +++ b/examples/Service_Configurator/Misc/README @@ -1,3 +1,6 @@ This directory contains an example that illustrates how the ACE Service Configurator can configure static and dynamic services, both -from the command-line and from a svc.config file. +from the command-line and from a svc.config file. We define several +instances, i.e., Timer_Service_1 and Timer_Service_2 of the SAME +service just to exercise different configuration options. A "real" +application would usually define different services. diff --git a/examples/Service_Configurator/Misc/Timer_Service.cpp b/examples/Service_Configurator/Misc/Timer_Service.cpp index e86ce56f6ad..dcbe9cdc5ac 100644 --- a/examples/Service_Configurator/Misc/Timer_Service.cpp +++ b/examples/Service_Configurator/Misc/Timer_Service.cpp @@ -95,7 +95,7 @@ Timer_Service_1::handle_close (ACE_HANDLE, ACE_STATIC_SVC_DEFINE (Timer_Service_1, "Timer_Service_1", ACE_SVC_OBJ_T, - &ACE_SVC_NAME (Timer_Service_2), + &ACE_SVC_NAME (Timer_Service_1), ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, 0) |