3 //=============================================================================
5 * @file Service_Config_DLL.h
7 * @author Ossama Othman <ossama@uci.edu>
9 //=============================================================================
11 #ifndef SERVICE_CONFIG_DLL_H
12 #define SERVICE_CONFIG_DLL_H
14 #include /**/ "ace/pre.h"
16 #include "Service_Config_DLL_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 * @class Service_Config_DLL
27 * @brief The Service_Config_DLL that is instantiated when the
28 * client-side test module/library is dynamically loaded.
30 * This class is the implementation used for all service instances
31 * (i.e. those declared using the ACE_FACTORY_* macros).
33 class Service_Config_DLL_Export Service_Config_DLL
: public ACE_Task_Base
37 Service_Config_DLL ();
39 /// Initializes object when dynamic linking occurs.
40 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
42 /// Terminates object when dynamic unlinking occurs.
45 /// Run by a daemon thread.
47 * Each thread will invoke the Service Configurator via this
48 * method unless the object is the "FINAL" object.
53 /// Directives to be passed to be processed by the Service
54 /// Configurator in separate threads.
55 ACE_TCHAR directive_
[2][BUFSIZ
];
59 ACE_FACTORY_DECLARE (Service_Config_DLL
, Service_Config_DLL
)
62 #include /**/ "ace/post.h"
64 #endif /* SERVICE_CONFIG_DLL_H */