2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 ACE_INLINE CORBA::Request_ptr
5 CORBA::Request::_duplicate (CORBA::Request_ptr x)
15 ACE_INLINE CORBA::Request_ptr
16 CORBA::Request::_nil ()
21 ACE_INLINE CORBA::Object_ptr
22 CORBA::Request::target () const
27 // Return the operation name for the request.
28 ACE_INLINE const CORBA::Char *
29 CORBA::Request::operation () const
34 // Return the arguments for the request.
35 ACE_INLINE CORBA::NVList_ptr
36 CORBA::Request::arguments ()
41 // Return the result for the request.
42 ACE_INLINE CORBA::NamedValue_ptr
43 CORBA::Request::result ()
48 // Return the exceptions resulting from this request.
49 ACE_INLINE CORBA::ExceptionList_ptr
50 CORBA::Request::exceptions ()
52 return this->exceptions_.in ();
55 // Return the request's contexts
56 ACE_INLINE CORBA::ContextList_ptr
57 CORBA::Request::contexts ()
59 return this->contexts_;
62 // The argument manipulation helper functions
63 ACE_INLINE CORBA::Any &
64 CORBA::Request::add_in_arg ()
66 return this->args_->add_element (CORBA::ARG_IN)->any_;
69 ACE_INLINE CORBA::Any &
70 CORBA::Request::add_in_arg (const CORBA::Char *name)
72 return this->args_->add_item (name, CORBA::ARG_IN)->any_;
75 ACE_INLINE CORBA::Any &
76 CORBA::Request::add_inout_arg ()
78 return this->args_->add_element (CORBA::ARG_INOUT)->any_;
81 ACE_INLINE CORBA::Any &
82 CORBA::Request::add_inout_arg (const CORBA::Char *name)
84 return this->args_->add_item (name, CORBA::ARG_INOUT)->any_;
87 ACE_INLINE CORBA::Any &
88 CORBA::Request::add_out_arg ()
90 return this->args_->add_element (CORBA::ARG_OUT)->any_;
93 ACE_INLINE CORBA::Any &
94 CORBA::Request::add_out_arg (const CORBA::Char *name)
96 return this->args_->add_item (name, CORBA::ARG_OUT)->any_;
100 CORBA::Request::set_return_type (CORBA::TypeCode_ptr tc)
102 this->result_->any_._tao_set_typecode (tc);
105 ACE_INLINE CORBA::Any &
106 CORBA::Request::return_value ()
108 return this->result_->any_;
111 ACE_INLINE CORBA::Context_ptr
112 CORBA::Request::ctx () const
118 CORBA::Request::ctx (CORBA::Context_ptr ctx)
124 CORBA::Request::_tao_lazy_evaluation (bool lazy_evaluation)
126 this->lazy_evaluation_ = lazy_evaluation;
130 CORBA::Request::_tao_byte_order () const
132 return this->byte_order_;
136 CORBA::Request::_tao_byte_order (int byte_order)
138 this->byte_order_ = byte_order;
142 CORBA::Request::raw_user_exception (TAO_InputCDR &cdr)
144 this->raw_user_exception_.set (cdr.start ()->rd_ptr (),
145 cdr.start ()->length (),
149 ACE_INLINE ACE_CString &
150 CORBA::Request::raw_user_exception ()
152 return this->raw_user_exception_;
155 ACE_INLINE CORBA::Boolean
156 CORBA::Request::response_received ()
158 ACE_GUARD_RETURN (TAO_SYNCH_MUTEX,
163 return this->response_received_;
166 TAO_END_VERSIONED_NAMESPACE_DECL