blob: eb104d2ad1cf5ea2e8f5030891de83e7c515958a (
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
|
// $Id$
ACE_INLINE
IIOP::Version::Version (CORBA::Octet maj, CORBA::Octet min)
: major (maj),
minor (min)
{
}
ACE_INLINE
IIOP::Profile::Profile (void)
: host (0)
{
}
ACE_INLINE
IIOP::Profile::~Profile (void)
{
delete [] this->host;
}
ACE_INLINE void
IIOP::Profile::object_addr (const ACE_INET_Addr *addr)
{
if (addr != 0)
this->object_addr_ = *addr;
else if (this->host)
this->object_addr_.set (this->port, this->host);
}
ACE_INLINE ACE_INET_Addr &
IIOP::Profile::object_addr (void)
{
return this->object_addr_;
}
ACE_INLINE
IIOP_Object::~IIOP_Object (void)
{
assert (this->refcount_ == 0);
}
ACE_INLINE
IIOP_Object::IIOP_Object (char *repository_id)
: STUB_Object (repository_id),
refcount_ (0)
{
}
ACE_INLINE
IIOP_Object::IIOP_Object (char *repository_id,
const IIOP::Profile &a_profile)
: STUB_Object (repository_id),
profile (a_profile),
refcount_ (0)
{
}
|