blob: 874795e7a10e95b89463815cf129be306b42de67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#include "RT_Endpoint_Selector_Factory.h"
#if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
#include "RT_Invocation_Endpoint_Selectors.h"
#include "RT_Endpoint_Utils.h"
#include "RT_Stub.h"
#include "tao/Protocols_Hooks.h"
#include "ace/Log_Msg.h"
ACE_RCSID (RTCORBA,
RT_Endpoint_Selector_Factory,
"$Id$")
// ****************************************************************
RT_Endpoint_Selector_Factory::RT_Endpoint_Selector_Factory (void)
{
ACE_NEW (this->rt_invocation_endpoint_selector_,
TAO_RT_Invocation_Endpoint_Selector);
}
RT_Endpoint_Selector_Factory::~RT_Endpoint_Selector_Factory (void)
{
delete this->rt_invocation_endpoint_selector_;
}
TAO_Invocation_Endpoint_Selector *
RT_Endpoint_Selector_Factory::get_selector (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
{
return this->rt_invocation_endpoint_selector_;
}
// ****************************************************************
ACE_STATIC_SVC_DEFINE (RT_Endpoint_Selector_Factory,
ACE_TEXT ("RT_Endpoint_Selector_Factory"),
ACE_SVC_OBJ_T,
&ACE_SVC_NAME (RT_Endpoint_Selector_Factory),
ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
0)
ACE_FACTORY_DEFINE (TAO_RTCORBA, RT_Endpoint_Selector_Factory)
#endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
|