blob: caef2db61ca8fe17027043f50160372005812af4 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
// -*- C++ -*-
// $Id$
#include "IOR_Interceptor.h"
#include "ObjectReferenceFactory.h"
#include "tao/ORB_Constants.h"
ACE_RCSID (Hello,
IOR_Interceptor,
"$Id$")
IOR_Interceptor::IOR_Interceptor (void)
{
}
char *
IOR_Interceptor::name (void)
{
return CORBA::string_dup ("IOR_Interceptor");
}
void
IOR_Interceptor::destroy (void)
{
}
void
IOR_Interceptor::establish_components (
PortableInterceptor::IORInfo_ptr /* info */)
{
}
void
IOR_Interceptor::components_established (
PortableInterceptor::IORInfo_ptr info)
{
PortableInterceptor::ObjectReferenceFactory_var old_orf =
info->current_factory ();
PortableInterceptor::ObjectReferenceFactory * tmp;
ACE_NEW_THROW_EX (tmp,
ObjectReferenceFactory (old_orf.in ()),
CORBA::NO_MEMORY (
CORBA::SystemException::_tao_minor_code (
TAO::VMCID,
ENOMEM),
CORBA::COMPLETED_NO));
PortableInterceptor::ObjectReferenceFactory_var orf = tmp;
info->current_factory (orf.in ());
}
void
IOR_Interceptor::adapter_manager_state_changed (
const char *,
PortableInterceptor::AdapterState)
{
}
void
IOR_Interceptor:: adapter_state_changed (
const PortableInterceptor::ObjectReferenceTemplateSeq &,
PortableInterceptor::AdapterState)
{
}
|