~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.i

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// -*- C++ -*-
2
 
//
3
 
// SSLIOP_Endpoint.i,v 1.12 2003/06/07 14:03:55 bala Exp
4
 
 
5
 
 
6
 
ACE_INLINE TAO_IIOP_Endpoint *
7
 
TAO_SSLIOP_Endpoint::iiop_endpoint (void) const
8
 
{
9
 
  return this->iiop_endpoint_;
10
 
}
11
 
 
12
 
ACE_INLINE void
13
 
TAO_SSLIOP_Endpoint::iiop_endpoint (TAO_IIOP_Endpoint *iiop_endpoint,
14
 
                                    int destroy)
15
 
{
16
 
  if (iiop_endpoint != 0)
17
 
    {
18
 
      TAO_IIOP_Endpoint *new_endpoint = 0;
19
 
 
20
 
      if (destroy)
21
 
        {
22
 
          TAO_Endpoint *endpoint = iiop_endpoint->duplicate ();
23
 
 
24
 
          new_endpoint = ACE_dynamic_cast (TAO_IIOP_Endpoint *,
25
 
                                           endpoint);
26
 
 
27
 
        }
28
 
      else
29
 
        new_endpoint = iiop_endpoint;
30
 
 
31
 
      if (this->destroy_iiop_endpoint_)
32
 
        delete this->iiop_endpoint_;
33
 
 
34
 
      this->iiop_endpoint_ = new_endpoint;
35
 
      this->destroy_iiop_endpoint_ = destroy;
36
 
    }
37
 
}
38
 
 
39
 
ACE_INLINE const SSLIOP::SSL &
40
 
TAO_SSLIOP_Endpoint::ssl_component (void) const
41
 
{
42
 
  return this->ssl_component_;
43
 
}
44
 
 
45
 
 
46
 
 
47
 
ACE_INLINE void
48
 
TAO_SSLIOP_Endpoint::qop (Security::QOP q)
49
 
{
50
 
  this->qop_ = q;
51
 
}
52
 
 
53
 
ACE_INLINE Security::QOP
54
 
TAO_SSLIOP_Endpoint::qop (void) const
55
 
{
56
 
  return this->qop_;
57
 
}
58
 
 
59
 
ACE_INLINE void
60
 
TAO_SSLIOP_Endpoint::trust (const Security::EstablishTrust &t)
61
 
{
62
 
  this->trust_ = t;
63
 
}
64
 
 
65
 
ACE_INLINE Security::EstablishTrust
66
 
TAO_SSLIOP_Endpoint::trust (void) const
67
 
{
68
 
  return this->trust_;
69
 
}
70
 
 
71
 
ACE_INLINE void
72
 
TAO_SSLIOP_Endpoint::credentials (const TAO_SSLIOP_Credentials_ptr creds)
73
 
{
74
 
  this->credentials_ = TAO_SSLIOP_Credentials::_duplicate (creds);
75
 
}
76
 
 
77
 
ACE_INLINE TAO_SSLIOP_Credentials *
78
 
TAO_SSLIOP_Endpoint::credentials (void) const
79
 
{
80
 
  return this->credentials_.in ();
81
 
}