blob: eb58d3dcc565d1065aec2a2a1b55c2961604bb56 (
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
68
69
70
71
72
73
74
75
76
77
78
79
80
|
// -*- C++ -*-
//
// $Id$
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 void
TAO_SSLIOP_Endpoint::qop (::Security::QOP q)
{
this->qop_ = q;
}
ACE_INLINE ::Security::QOP
TAO_SSLIOP_Endpoint::qop (void) const
{
return this->qop_;
}
ACE_INLINE void
TAO_SSLIOP_Endpoint::trust (const ::Security::EstablishTrust &t)
{
this->trust_ = t;
}
ACE_INLINE ::Security::EstablishTrust
TAO_SSLIOP_Endpoint::trust (void) const
{
return this->trust_;
}
ACE_INLINE void
TAO_SSLIOP_Endpoint::credentials (const TAO::SSLIOP::Credentials_ptr creds)
{
this->credentials_ = TAO::SSLIOP::Credentials::_duplicate (creds);
}
ACE_INLINE TAO::SSLIOP::Credentials *
TAO_SSLIOP_Endpoint::credentials (void) const
{
return this->credentials_.in ();
}
|