diff options
Diffstat (limited to 'TAO/tao/Server_Request.i')
-rw-r--r-- | TAO/tao/Server_Request.i | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/TAO/tao/Server_Request.i b/TAO/tao/Server_Request.i deleted file mode 100644 index b1ff0e18798..00000000000 --- a/TAO/tao/Server_Request.i +++ /dev/null @@ -1,103 +0,0 @@ -// $Id$ - -ACE_INLINE CORBA::Boolean -CORBA::is_nil (CORBA_ServerRequest *x) -{ - return x != 0; -} - -// @@ TODO TAO allocates its ServerRequest objects from the stack, -// using reference counting wouldn't help much. Using a _clone() -// method would make the following methods really easy to implement, -// but that's hard to implement for the extremely optimized -// IIOP_ServerRequest. -// Another solution would be to modify the class hierarchy, make -// ServerRequest the "slow" version (with copies for each field) and -// IIOP_ServerRequest the "fast" version (with no copies at all). The -// first would be use for DII and the later for SII. -ACE_INLINE CORBA_ServerRequest * -CORBA_ServerRequest::_duplicate (CORBA_ServerRequest *) -{ - return 0; -} - -ACE_INLINE void -CORBA::release (CORBA_ServerRequest *) -{ -} - -ACE_INLINE CORBA_ServerRequest * -CORBA_ServerRequest::_nil (void) -{ - return 0; -} - -ACE_INLINE TAO_InputCDR & -IIOP_ServerRequest::incoming (void) -{ - return *this->incoming_; -} - -ACE_INLINE TAO_OutputCDR & -IIOP_ServerRequest::outgoing (void) -{ - return *this->outgoing_; -} - -// Invocation attributes. -ACE_INLINE const char * -IIOP_ServerRequest::operation (void) const -{ - return this->operation_; -} - -#if 0 -//@@ (TAO) to do after Context is implemented -ACE_INLINE CORBA::Context_ptr -IIOP_ServerRequest::ctx (void) -{ - return 0; -} -#endif - -ACE_INLINE CORBA::ORB_ptr -IIOP_ServerRequest::orb (void) -{ - return this->orb_core_->orb (); -} - -ACE_INLINE TAO_POA * -IIOP_ServerRequest::oa (void) -{ - return this->orb_core_->root_poa (); -} - -ACE_INLINE CORBA::Boolean -IIOP_ServerRequest::response_expected (void) const -{ - return this->response_expected_; -} - -ACE_INLINE CORBA::Principal_ptr -IIOP_ServerRequest::principal (void) const -{ - return this->requesting_principal_; -} - -ACE_INLINE const TAO_opaque & -IIOP_ServerRequest::object_key (void) const -{ - return this->object_key_; -} - -ACE_INLINE const TAO_GIOP_ServiceContextList & -IIOP_ServerRequest::service_info (void) const -{ - return this->service_info_; -} - -ACE_INLINE CORBA::ULong -IIOP_ServerRequest::request_id (void) -{ - return this->request_id_; -} |