diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 6 | ||||
-rw-r--r-- | ace/CDR_Stream.h | 10 | ||||
-rw-r--r-- | ace/Service_Manager.cpp | 7 |
5 files changed, 30 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 18991340a6c..dce25bd4c6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Mar 11 18:41:08 2001 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/CDR_Stream.h: Updated a comment to clarify that the buffer() + method just returns a pointer to the first block in the chain. + Thanks to Johnny Willemsen for pointing this out. + Sun Mar 11 17:46:45 2001 Balachandran Natarajan <bala@cs.wustl.edu> * ace/Local_Name_Space_T.cpp: Fixed a compiler error on Win32 diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 18991340a6c..dce25bd4c6a 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Sun Mar 11 18:41:08 2001 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/CDR_Stream.h: Updated a comment to clarify that the buffer() + method just returns a pointer to the first block in the chain. + Thanks to Johnny Willemsen for pointing this out. + Sun Mar 11 17:46:45 2001 Balachandran Natarajan <bala@cs.wustl.edu> * ace/Local_Name_Space_T.cpp: Fixed a compiler error on Win32 diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 18991340a6c..dce25bd4c6a 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,9 @@ +Sun Mar 11 18:41:08 2001 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/CDR_Stream.h: Updated a comment to clarify that the buffer() + method just returns a pointer to the first block in the chain. + Thanks to Johnny Willemsen for pointing this out. + Sun Mar 11 17:46:45 2001 Balachandran Natarajan <bala@cs.wustl.edu> * ace/Local_Name_Space_T.cpp: Fixed a compiler error on Win32 diff --git a/ace/CDR_Stream.h b/ace/CDR_Stream.h index e1e4c0c3e77..c98d09bbd44 100644 --- a/ace/CDR_Stream.h +++ b/ace/CDR_Stream.h @@ -19,7 +19,6 @@ * Those assumptions are pretty good these days, with Crays beign * the only known exception. * - * * @author TAO version by * @author Aniruddha Gokhale <gokhale@cs.wustl.edu> * @author Carlos O'Ryan<coryan@cs.wustl.edu> @@ -31,7 +30,6 @@ */ //============================================================================= - #ifndef ACE_CDR_STREAM_H #define ACE_CDR_STREAM_H @@ -263,12 +261,16 @@ public: /// Return the <current_> message block in chain. const ACE_Message_Block *current (void) const; - /// Access the underlying buffer (read only). + /** + * Access the underlying buffer (read only). NOTE: This + * method only returns a pointer to the first block in the + * chain. + */ const char *buffer (void) const; /** * Return the start and size of the internal buffer. NOTE: This - * methods only return information about the first block in the + * method only returns information about the first block in the * chain. */ size_t length (void) const; 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... |