summaryrefslogtreecommitdiff
path: root/modules/TAO/tao/PortableServer/POA_Cached_Policies.inl
blob: 45cb696e294b711f689730ef44ecb31d77e30ded (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
// -*- C++ -*-
//
// $Id$

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

namespace TAO
{
  namespace Portable_Server
  {
    ACE_INLINE ::PortableServer::ThreadPolicyValue
    Cached_Policies::thread (void) const
    {
      return this->thread_;
    }

    ACE_INLINE ::PortableServer::LifespanPolicyValue
    Cached_Policies::lifespan (void) const
    {
      return this->lifespan_;
    }

    ACE_INLINE ::PortableServer::IdUniquenessPolicyValue
    Cached_Policies::id_uniqueness (void) const
    {
      return this->id_uniqueness_;
    }

    ACE_INLINE ::PortableServer::IdAssignmentPolicyValue
    Cached_Policies::id_assignment (void) const
    {
      return this->id_assignment_;
    }

    ACE_INLINE ::PortableServer::ImplicitActivationPolicyValue
    Cached_Policies::implicit_activation (void) const
    {
      return this->implicit_activation_;
    }

    ACE_INLINE ::PortableServer::ServantRetentionPolicyValue
    Cached_Policies::servant_retention (void) const
    {
      return this->servant_retention_;
    }

    ACE_INLINE ::PortableServer::RequestProcessingPolicyValue
    Cached_Policies::request_processing (void) const
    {
      return this->request_processing_;
    }

    ACE_INLINE Cached_Policies::PriorityModel
    Cached_Policies::priority_model (void) const
    {
      return this->priority_model_;
    }

    ACE_INLINE CORBA::Short
    Cached_Policies::server_priority (void) const
    {
      return this->server_priority_;
    }

    ACE_INLINE void
    Cached_Policies::priority_model (PriorityModel priority_model)
    {
      this->priority_model_ = priority_model;
    }

    ACE_INLINE void
    Cached_Policies::server_priority (CORBA::Short priority)
    {
      this->server_priority_ = priority;
    }

    ACE_INLINE Cached_Policies::NetworkPriorityModel
    Cached_Policies::network_priority_model (void) const
    {
      return this->network_priority_model_;
    }

    ACE_INLINE CORBA::Long
    Cached_Policies::request_diffserv_codepoint (void) const
    {
      return this->request_diffserv_codepoint_;
    }

    ACE_INLINE CORBA::Long
    Cached_Policies::reply_diffserv_codepoint (void) const
    {
      return this->reply_diffserv_codepoint_;
    }

    ACE_INLINE void
    Cached_Policies::network_priority_model (
       NetworkPriorityModel network_priority_model)
    {
      this->network_priority_model_ = network_priority_model;
    }

    ACE_INLINE void
    Cached_Policies::request_diffserv_codepoint (
      CORBA::Long diffserv_codepoint)
    {
      this->request_diffserv_codepoint_ = diffserv_codepoint;
    }

    ACE_INLINE void
    Cached_Policies::reply_diffserv_codepoint (CORBA::Long diffserv_codepoint)
    {
      this->reply_diffserv_codepoint_ = diffserv_codepoint;
    }

    ACE_INLINE void
    Cached_Policies::implicit_activation (PortableServer::ImplicitActivationPolicyValue value)
    {
      this->implicit_activation_ = value;
    }
  }
}

TAO_END_VERSIONED_NAMESPACE_DECL