1 #include "SSL_Initializer.h"
2 #include "SSL_Context.h"
4 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 ACE_SSL_Initializer::static_init (void)
9 ACE_Service_Config::process_directive (ace_svc_desc_ACE_SSL_Initializer
);
14 ACE_SSL_Initializer::init (int, ACE_TCHAR
*[])
16 // Initialize ACE_SSL_Context singleton.
17 ACE_SSL_Context
* ssl_ctx
= ACE_SSL_Context::instance ();
18 ACE_ASSERT (ssl_ctx
!= 0);
19 ACE_UNUSED_ARG (ssl_ctx
);
25 ACE_SSL_Initializer::fini (void)
27 // Explicitly close the ACE_SSL_Context singleton.
28 ACE_SSL_Context::close ();
33 ACE_END_VERSIONED_NAMESPACE_DECL
35 ACE_STATIC_SVC_DEFINE (ACE_SSL_Initializer
,
36 ACE_TEXT ("ACE_SSL_Initializer"),
38 &ACE_SVC_NAME (ACE_SSL_Initializer
),
39 ACE_Service_Type::DELETE_THIS
|
40 ACE_Service_Type::DELETE_OBJ
,
42 ACE_FACTORY_DEFINE (ACE_SSL
, ACE_SSL_Initializer
)