summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile_Transport_Resolver.inl
blob: 285a59014d0d3e8e0e8275f98a831460ff72d0e5 (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
// -*- C++ -*-

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

namespace TAO
{
  ACE_INLINE
  Profile_Transport_Resolver::Profile_Transport_Resolver (
    CORBA::Object *p,
    TAO_Stub *stub,
    bool block)
    : obj_ (p)
    , stub_ (stub)
    , transport_ (0)
    , profile_ (0)
    , inconsistent_policies_ (0)
    , is_released_ (false)
    , blocked_ (block)
  {
  }

  ACE_INLINE TAO_Stub *
  Profile_Transport_Resolver::stub () const
  {
    return this->stub_;
  }

  ACE_INLINE CORBA::Object_ptr
  Profile_Transport_Resolver::object () const
  {
    return this->obj_;
  }

  ACE_INLINE TAO_Profile *
  Profile_Transport_Resolver::profile () const
  {
    return this->profile_;
  }

  ACE_INLINE TAO_Transport *
  Profile_Transport_Resolver::transport () const
  {
    return this->transport_.get ();
  }

  ACE_INLINE bool
  Profile_Transport_Resolver::blocked_connect () const
  {
    return this->blocked_;
  }

  ACE_INLINE void
  Profile_Transport_Resolver::transport_released () const
  {
    this->is_released_ = true;
  }

  ACE_INLINE CORBA::PolicyList *
  Profile_Transport_Resolver::inconsistent_policies () const
  {
    return this->inconsistent_policies_;
  }

  ACE_INLINE CORBA::PolicyList *
  Profile_Transport_Resolver::steal_inconsistent_policies ()
  {
    CORBA::PolicyList *tmp = this->inconsistent_policies_;
    this->inconsistent_policies_ = 0;
    return tmp;
  }
}

TAO_END_VERSIONED_NAMESPACE_DECL