summaryrefslogtreecommitdiff
path: root/ace/Service_Config.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-10 06:48:50 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-10 06:48:50 +0000
commitdf06ad229972d814c192932c90fc4848ae55bd29 (patch)
tree2cfe68fe5dc5aa19501ae60ccc0ee7e780ac5ded /ace/Service_Config.h
parente946f7deaeb8dfe74da2c456665da8fe6b976418 (diff)
downloadATCD-df06ad229972d814c192932c90fc4848ae55bd29.tar.gz
ChangeLogTag:Fri Mar 9 22:39:28 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace/Service_Config.h')
-rw-r--r--ace/Service_Config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ace/Service_Config.h b/ace/Service_Config.h
index 6444dd5a5bd..9ec359750ce 100644
--- a/ace/Service_Config.h
+++ b/ace/Service_Config.h
@@ -398,6 +398,21 @@ public:
/// a string. Returns the number of errors that occurred.
static int process_directive (const ACE_TCHAR directive[]);
+ /// Process one static service definition.
+ /**
+ * Load a new static service into the ACE_Service_Repository.
+ *
+ * @param ssd Service descriptor, see the document of
+ * ACE_Static_Svc_Descriptor for more details.
+ *
+ * @param force_replace If set the new service descriptor replaces
+ * any previous instance in the ACE_Service_Repository.
+ *
+ * @return Returns -1 if the service cannot be 'loaded'.
+ */
+ static int process_directive (const ACE_Static_Svc_Descriptor &ssd,
+ int force_replace = 0);
+
/**
* Process (or re-process) service configuration requests that are
* provided in the svc.conf file(s). Returns the number of errors