diff options
Diffstat (limited to 'TAO/tao/GIOP_Server_Request.i')
-rw-r--r-- | TAO/tao/GIOP_Server_Request.i | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/TAO/tao/GIOP_Server_Request.i b/TAO/tao/GIOP_Server_Request.i deleted file mode 100644 index 7cc1f15cdc0..00000000000 --- a/TAO/tao/GIOP_Server_Request.i +++ /dev/null @@ -1,78 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// @@ 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 -// GIOP_ServerRequest. -// Another solution would be to modify the class hierarchy, make -// ServerRequest the "slow" version (with copies for each field) and -// GIOP_ServerRequest the "fast" version (with no copies at all). The -// first would be use for DII and the later for SII. - -ACE_INLINE TAO_InputCDR & -GIOP_ServerRequest::incoming (void) -{ - return *this->incoming_; -} - -ACE_INLINE TAO_OutputCDR & -GIOP_ServerRequest::outgoing (void) -{ - return *this->outgoing_; -} - -// Invocation attributes. - -ACE_INLINE const char * -GIOP_ServerRequest::operation (void) const -{ - return this->operation_.c_str (); -} - -// get the length of the operation name. -ACE_INLINE unsigned int -GIOP_ServerRequest::operation_length (void) const -{ - return this->operation_.length (); -} - -#if 0 -//@@ (TAO) to do after Context is implemented -ACE_INLINE CORBA::Context_ptr -GIOP_ServerRequest::ctx (void) -{ - return 0; -} -#endif - -ACE_INLINE CORBA::Boolean -GIOP_ServerRequest::response_expected (void) const -{ - return this->response_expected_; -} - -ACE_INLINE CORBA::Principal_ptr -GIOP_ServerRequest::principal (void) const -{ - return this->requesting_principal_; -} - -ACE_INLINE const TAO_ObjectKey & -GIOP_ServerRequest::object_key (void) const -{ - return this->object_key_; -} - -ACE_INLINE const TAO_GIOP_ServiceContextList & -GIOP_ServerRequest::service_info (void) const -{ - return this->service_info_; -} - -ACE_INLINE CORBA::ULong -GIOP_ServerRequest::request_id (void) -{ - return this->request_id_; -} |