Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ClientRequestInfo_i.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: ClientRequestInfo_i.inl,v 1.1.1.1 2003/02/21 18:36:44 chad Exp $
00004 
00005 ACE_INLINE void
00006 TAO_ClientRequestInfo_i::exception (CORBA::Exception *exception)
00007 {
00008   if (CORBA::SystemException::_downcast (exception) != 0)
00009     this->reply_status_ = PortableInterceptor::SYSTEM_EXCEPTION;
00010   else if (CORBA::UserException::_downcast (exception) != 0)
00011     this->reply_status_ = PortableInterceptor::USER_EXCEPTION;
00012 
00013   // @@ Is it possible for both of the above downcasts to fail?
00014 
00015   this->caught_exception_ = exception;
00016 }
00017 
00018 ACE_INLINE void
00019 TAO_ClientRequestInfo_i::response_expected (CORBA::Boolean flag)
00020 {
00021   this->response_expected_ = flag;
00022 }
00023 
00024 ACE_INLINE void
00025 TAO_ClientRequestInfo_i::forward_reference (
00026   PortableInterceptor::ForwardRequest &)
00027 {
00028   // Note that we're converting the ForwardRequest exception in to a
00029   // LOCATION_FORWARD reply, so we do not set the exception status.
00030   //
00031   // The forward object reference is not handled here.  Rather, it is
00032   // handled by the TAO_GIOP_Invocation object so that its profiles
00033   // can be added to the list of forward profiles.
00034 
00035   this->reply_status_ = PortableInterceptor::LOCATION_FORWARD;
00036 }

Generated on Mon Jun 16 13:48:04 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002