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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
// -*- C++ -*-
//
//$Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
TAO_Operation_Details::TAO_Operation_Details (const char *name,
CORBA::ULong len,
TAO::Argument **args,
CORBA::ULong num,
TAO::Exception_Data *data,
CORBA::ULong count)
: opname_ (name)
, opname_len_ (len)
, request_id_ (0)
, response_flags_ (0)
, addressing_mode_ (TAO_Target_Specification::Key_Addr)
, args_ (args)
, num_args_ (num)
, ex_data_ (data)
, ex_count_ (count)
, use_stub_args_ (args ? true : false)
#if TAO_HAS_INTERCEPTORS == 1
, ft_expiration_time_ (0)
, ft_retention_id_ (0)
#endif /*TAO_HAS_INTERCEPTORS == 1*/
, cac_ (0)
, reply_dispatcher_ (0)
{
}
ACE_INLINE const char*
TAO_Operation_Details::opname (void) const
{
return this->opname_;
}
ACE_INLINE CORBA::ULong
TAO_Operation_Details::opname_len (void) const
{
return this->opname_len_;
}
ACE_INLINE CORBA::Boolean
TAO_Operation_Details::argument_flag (void) const
{
return (this->num_args_ > 1);
}
ACE_INLINE TAO_Service_Context &
TAO_Operation_Details::request_service_context (void)
{
return this->request_service_info_;
}
ACE_INLINE const TAO_Service_Context &
TAO_Operation_Details::request_service_context (void) const
{
return this->request_service_info_;
}
ACE_INLINE IOP::ServiceContextList &
TAO_Operation_Details::request_service_info (void)
{
return this->request_service_context ().service_info ();
}
ACE_INLINE const IOP::ServiceContextList &
TAO_Operation_Details::request_service_info (void) const
{
return this->request_service_context ().service_info ();
}
ACE_INLINE TAO_Service_Context &
TAO_Operation_Details::reply_service_context (void)
{
return this->reply_service_info_;
}
ACE_INLINE const TAO_Service_Context &
TAO_Operation_Details::reply_service_context (void) const
{
return this->reply_service_info_;
}
ACE_INLINE IOP::ServiceContextList &
TAO_Operation_Details::reply_service_info (void)
{
return this->reply_service_context ().service_info ();
}
ACE_INLINE const IOP::ServiceContextList &
TAO_Operation_Details::reply_service_info (void) const
{
return this->reply_service_context ().service_info ();
}
ACE_INLINE void
TAO_Operation_Details::reset_request_service_info (void)
{
this->request_service_context ().service_info ().length (0);
}
ACE_INLINE void
TAO_Operation_Details::reset_reply_service_info (void)
{
this->reply_service_context ().service_info ().length (0);
}
ACE_INLINE void
TAO_Operation_Details::request_id (CORBA::ULong id)
{
this->request_id_ = id;
}
ACE_INLINE CORBA::ULong
TAO_Operation_Details::request_id (void) const
{
return this->request_id_;
}
ACE_INLINE void
TAO_Operation_Details::response_flags (CORBA::Octet flags)
{
this->response_flags_ = flags;
}
ACE_INLINE CORBA::ULong
TAO_Operation_Details::ex_count (void) const
{
return this->ex_count_;
}
ACE_INLINE TAO::Exception_Data const *
TAO_Operation_Details::ex_data (void) const
{
return this->ex_data_;
}
ACE_INLINE CORBA::Octet
TAO_Operation_Details::response_flags (void) const
{
return this->response_flags_;
}
ACE_INLINE TAO_Target_Specification::TAO_Target_Address
TAO_Operation_Details::addressing_mode (void) const
{
return this->addressing_mode_;
}
ACE_INLINE void
TAO_Operation_Details::addressing_mode (CORBA::Short mode)
{
if (mode == 0)
this->addressing_mode_ = TAO_Target_Specification::Key_Addr;
else if (mode == 1)
this->addressing_mode_ = TAO_Target_Specification::Profile_Addr;
else if (mode == 2)
this->addressing_mode_ = TAO_Target_Specification::Reference_Addr;
}
ACE_INLINE TAO::Argument **
TAO_Operation_Details::args (void) const
{
return this->args_;
}
ACE_INLINE CORBA::ULong
TAO_Operation_Details::args_num (void) const
{
return this->num_args_;
}
ACE_INLINE CORBA::Boolean
TAO_Operation_Details::use_stub_args (void) const
{
return this->use_stub_args_;
}
ACE_INLINE void
TAO_Operation_Details::use_stub_args (CORBA::Boolean use_stub_args)
{
this->use_stub_args_ = use_stub_args;
}
#if TAO_HAS_INTERCEPTORS == 1
ACE_INLINE void
TAO_Operation_Details::ft_expiration_time (TimeBase::TimeT time)
{
this->ft_expiration_time_ = time;
}
ACE_INLINE TimeBase::TimeT
TAO_Operation_Details::ft_expiration_time (void) const
{
return this->ft_expiration_time_;
}
ACE_INLINE void
TAO_Operation_Details::ft_retention_id (CORBA::Long request_id)
{
this->ft_retention_id_ = request_id;
}
ACE_INLINE CORBA::Long
TAO_Operation_Details::ft_retention_id (void) const
{
return this->ft_retention_id_;
}
#endif /*TAO_HAS_INTERCEPTORS == 1*/
ACE_INLINE TAO::Collocated_Arguments_Converter *
TAO_Operation_Details::cac (void) const
{
return this->cac_;
}
ACE_INLINE void
TAO_Operation_Details::cac (TAO::Collocated_Arguments_Converter *cac)
{
this->cac_ = cac;
}
ACE_INLINE TAO_Reply_Dispatcher *
TAO_Operation_Details::reply_dispatcher (void) const
{
return this->reply_dispatcher_;
}
ACE_INLINE void
TAO_Operation_Details::reply_dispatcher (TAO_Reply_Dispatcher *rd)
{
this->reply_dispatcher_ = rd;
}
TAO_END_VERSIONED_NAMESPACE_DECL
|