summaryrefslogtreecommitdiff
path: root/TAO/tao/params.i
blob: 77637ce766e87274b2d310dc3f723e9a169e2cb9 (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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
/* -*- C++ -*- */
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO
//
// = FILENAME
//    params.i
//
// = AUTHOR
//    Chris Cleeland
//
// ============================================================================

ACE_INLINE
TAO_OA_Parameters::TAO_OA_Parameters (void)
{
}

ACE_INLINE
TAO_OA_Parameters::~TAO_OA_Parameters (void)
{
}

ACE_INLINE void
TAO_OA_Parameters::tablesize (CORBA::ULong tblsize)
{
  this->tablesize_ = tblsize;
}

ACE_INLINE CORBA::ULong
TAO_OA_Parameters::tablesize (void)
{
  return this->tablesize_;
}

ACE_INLINE TAO_Active_Object_Map_Impl *
TAO_OA_Parameters::userdef_lookup_strategy_for_user_id_policy (void)
{
  return 0;
}

ACE_INLINE TAO_Active_Object_Map_Impl *
TAO_OA_Parameters::userdef_lookup_strategy_for_system_id_policy (void)
{
  return 0;
}

ACE_INLINE TAO_Reverse_Active_Object_Map_Impl *
TAO_OA_Parameters::userdef_reverse_lookup_strategy_for_unique_id_policy (void)
{
  return 0;
}

ACE_INLINE int
TAO_ORB_Parameters::sock_rcvbuf_size (void) const
{
  return sock_rcvbuf_size_;
}

ACE_INLINE void
TAO_ORB_Parameters::sock_rcvbuf_size (int s)
{
  sock_rcvbuf_size_ = s <= ACE_DEFAULT_MAX_SOCKET_BUFSIZ ? s : ACE_DEFAULT_MAX_SOCKET_BUFSIZ;
}

ACE_INLINE int
TAO_ORB_Parameters::sock_sndbuf_size (void) const
{
  return sock_sndbuf_size_;
}

ACE_INLINE void
TAO_ORB_Parameters::sock_sndbuf_size (int s)
{
  sock_sndbuf_size_ = s <= ACE_DEFAULT_MAX_SOCKET_BUFSIZ ? s : ACE_DEFAULT_MAX_SOCKET_BUFSIZ;
}

ACE_INLINE int
TAO_ORB_Parameters::cdr_memcpy_tradeoff (void) const
{
  return this->cdr_memcpy_tradeoff_;
}

ACE_INLINE void
TAO_ORB_Parameters::cdr_memcpy_tradeoff (int x)
{
  this->cdr_memcpy_tradeoff_ = x;
}

ACE_INLINE int
TAO_ORB_Parameters::use_IIOP_lite_protocol (void) const
{
  return this->use_IIOP_lite_protocol_;
}

ACE_INLINE void
TAO_ORB_Parameters::use_IIOP_lite_protocol (int x)
{
  this->use_IIOP_lite_protocol_ = x;
}

ACE_INLINE int
TAO_ORB_Parameters::use_dotted_decimal_addresses (void) const
{
  return this->use_dotted_decimal_addresses_;
}

ACE_INLINE void
TAO_ORB_Parameters::use_dotted_decimal_addresses (int x)
{
  this->use_dotted_decimal_addresses_ = x;
}

ACE_INLINE void
TAO_ORB_Parameters::addr (const ACE_INET_Addr &addr)
{
  this->addr_ = addr;
}

ACE_INLINE const ACE_INET_Addr &
TAO_ORB_Parameters::addr (void) const
{
  return this->addr_;
}

ACE_INLINE void
TAO_ORB_Parameters::name_service_ior (const ACE_CString &ns)
{
  this->name_service_ior_ = ns;
}

ACE_INLINE const char *
TAO_ORB_Parameters::name_service_ior (void) const
{
  return this->name_service_ior_.c_str ();
}

ACE_INLINE void
TAO_ORB_Parameters::host (const ACE_CString &h)
{
  this->host_ = h;
}

ACE_INLINE const char *
TAO_ORB_Parameters::host (void) const
{
  return this->host_.c_str ();
}

ACE_INLINE void
TAO_ORB_Parameters::name_service_port (CORBA::UShort port)
{
  this->name_service_port_ = port;
}

ACE_INLINE CORBA::UShort
TAO_ORB_Parameters::name_service_port (void) const
{
  return this->name_service_port_;
}

ACE_INLINE void
TAO_ORB_Parameters::trading_service_ior (const ACE_CString &ns)
{
  this->trading_service_ior_ = ns;
}

ACE_INLINE const char *
TAO_ORB_Parameters::trading_service_ior (void) const
{
  return this->trading_service_ior_.c_str ();
}

ACE_INLINE void
TAO_ORB_Parameters::trading_service_port (CORBA::UShort port)
{
  this->trading_service_port_ = port;
}

ACE_INLINE CORBA::UShort
TAO_ORB_Parameters::trading_service_port (void) const
{
  return this->trading_service_port_;
}