#include <Strategies_T.h>
Inheritance diagram for ACE_DLL_Strategy< SVC_HANDLER >:
Public Types | |
typedef ACE_Creation_Strategy< SVC_HANDLER > | base_type |
Public Methods | |
ACE_DLL_Strategy (void) | |
"Do-nothing" constructor. | |
ACE_DLL_Strategy (const char dll_name[], const char factory_function[], const char svc_name[], ACE_Service_Repository *, ACE_Thread_Manager *=0) | |
int | open (const char dll_name[], const char factory_function[], const char svc_name[], ACE_Service_Repository *, ACE_Thread_Manager *=0) |
virtual int | make_svc_handler (SVC_HANDLER *&) |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Protected Types | |
typedef ACE_Creation_Strategy< SVC_HANDLER > | inherited |
Protected Attributes | |
char | dll_name_ [MAXPATHLEN+1] |
Name of the DLL to dynamically link. | |
char | factory_function_ [MAXPATHLEN+1] |
char | svc_name_ [MAXNAMELEN+1] |
Name of the service. | |
ACE_Service_Repository * | svc_rep_ |
Pointer to the <Service_Repository>. |
|
|
|
|
|
"Do-nothing" constructor.
|
|
Initialize the DLL strategy based upon the service's DLL information contained in the <svc_dll_info> string. |
|
Dump the state of an object.
Reimplemented from ACE_Creation_Strategy< SVC_HANDLER >. |
|
Create a SVC_HANDLER by dynamically linking it from a DLL. Returns -1 on failure, else 0. Reimplemented from ACE_Creation_Strategy< SVC_HANDLER >. |
|
Initialize the DLL strategy based upon the service's DLL information contained in the <svc_dll_info> string. |
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_Creation_Strategy< SVC_HANDLER >. |
|
Name of the DLL to dynamically link.
|
|
Name of the factory function in the shared library to use to obtain a pointer to the new SVC_HANDLER. |
|
Name of the service.
|
|
Pointer to the <Service_Repository>.
|