Server_Request.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Server_Request.inl,v 1.9 2005/11/03 17:38:45 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 void
00009 CORBA::release (CORBA::ServerRequest_ptr x)
00010 {
00011   if (x != 0)
00012     {
00013       x->_decr_refcnt ();
00014     }
00015 }
00016 
00017 ACE_INLINE
00018 CORBA::Boolean
00019 CORBA::is_nil (CORBA::ServerRequest_ptr x)
00020 {
00021   return x == 0;
00022 }
00023 
00024 // ===================================================================
00025 
00026 ACE_INLINE CORBA::ServerRequest_ptr
00027 CORBA::ServerRequest::_duplicate (CORBA::ServerRequest_ptr x)
00028 {
00029   if (x != 0)
00030     {
00031       x->_incr_refcnt ();
00032     }
00033 
00034   return x;
00035 }
00036 
00037 ACE_INLINE CORBA::ServerRequest_ptr
00038 CORBA::ServerRequest::_nil (void)
00039 {
00040   return (CORBA::ServerRequest_ptr)0;
00041 }
00042 
00043 ACE_INLINE CORBA::Context_ptr
00044 CORBA::ServerRequest::ctx (void) const
00045 {
00046   return this->ctx_;
00047 }
00048 
00049 ACE_INLINE void
00050 CORBA::ServerRequest::ctx (CORBA::Context_ptr ctx)
00051 {
00052   this->ctx_ = ctx;
00053 }
00054 
00055 ACE_INLINE const char *
00056 CORBA::ServerRequest::operation (void) const
00057 {
00058   return this->orb_server_request_.operation ();
00059 }
00060 
00061 ACE_INLINE void
00062 CORBA::ServerRequest::_tao_lazy_evaluation (bool lazy_evaluation)
00063 {
00064   this->lazy_evaluation_ = lazy_evaluation;
00065 }
00066 
00067 ACE_INLINE int
00068 CORBA::ServerRequest::_tao_incoming_byte_order (void) const
00069 {
00070   return this->orb_server_request_.incoming ()->byte_order ();
00071 }
00072 
00073 ACE_INLINE void
00074 CORBA::ServerRequest::_tao_reply_byte_order (int byte_order)
00075 {
00076   this->orb_server_request_.outgoing ()->reset_byte_order (byte_order);
00077 }
00078 
00079 
00080 ACE_INLINE TAO_ServerRequest &
00081 CORBA::ServerRequest::_tao_server_request (void)
00082 {
00083   return this->orb_server_request_;
00084 }
00085 
00086 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 13:04:21 2006 for TAO_DynamicInterface by doxygen 1.3.6