diff options
Diffstat (limited to 'TAO/tao/Server_Request.i')
-rw-r--r-- | TAO/tao/Server_Request.i | 68 |
1 files changed, 66 insertions, 2 deletions
diff --git a/TAO/tao/Server_Request.i b/TAO/tao/Server_Request.i index 808df8fd876..345a30bf693 100644 --- a/TAO/tao/Server_Request.i +++ b/TAO/tao/Server_Request.i @@ -1,4 +1,3 @@ -// -*- C++ -*- // $Id$ ACE_INLINE CORBA::Boolean @@ -16,7 +15,6 @@ CORBA::is_nil (CORBA_ServerRequest *x) // 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 *) { @@ -33,3 +31,69 @@ 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_.c_str (); +} + +// get the length of the operation name. +ACE_INLINE unsigned int +IIOP_ServerRequest::operation_length (void) const +{ + return this->operation_.length (); +} + +#if 0 +//@@ (TAO) to do after Context is implemented +ACE_INLINE CORBA::Context_ptr +IIOP_ServerRequest::ctx (void) +{ + return 0; +} +#endif + +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_ObjectKey & +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_; +} |