blob: b796efe0e6ebd1a6ab72a71cff60e0bcb6038a05 (
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
67
|
// -*- C++ -*-
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE TAO_IIOP_Endpoint *
TAO_SSLIOP_Endpoint::iiop_endpoint (void) const
{
return this->iiop_endpoint_;
}
ACE_INLINE void
TAO_SSLIOP_Endpoint::iiop_endpoint (TAO_IIOP_Endpoint *iiop_endpoint,
bool destroy)
{
if (iiop_endpoint != 0)
{
TAO_IIOP_Endpoint *new_endpoint = 0;
if (destroy)
{
TAO_Endpoint *endpoint = iiop_endpoint->duplicate ();
new_endpoint = dynamic_cast<TAO_IIOP_Endpoint *> (endpoint);
}
else
new_endpoint = iiop_endpoint;
if (this->destroy_iiop_endpoint_)
delete this->iiop_endpoint_;
this->iiop_endpoint_ = new_endpoint;
this->destroy_iiop_endpoint_ = destroy;
}
}
ACE_INLINE const ::SSLIOP::SSL &
TAO_SSLIOP_Endpoint::ssl_component (void)const
{
return this->ssl_component_;
}
ACE_INLINE ::Security::QOP
TAO_SSLIOP_Endpoint::qop () const
{
return this->qop_;
}
ACE_INLINE ::Security::EstablishTrust
TAO_SSLIOP_Endpoint::trust () const
{
return this->trust_;
}
ACE_INLINE TAO::SSLIOP::OwnCredentials *
TAO_SSLIOP_Endpoint::credentials () const
{
return this->credentials_.in ();
}
ACE_INLINE int
TAO_SSLIOP_Endpoint::credentials_set () const
{
return this->credentials_set_;
}
TAO_END_VERSIONED_NAMESPACE_DECL
|