ClientRequestDetails.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // ClientRequestDetails.inl,v 1.2 2005/12/23 10:11:10 jwillemsen Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 namespace TAO
00008 {
00009   ACE_INLINE
00010   ClientRequestDetails::ClientRequestDetails (void)
00011     : processing_mode_(PortableInterceptor::LOCAL_AND_REMOTE)
00012   {
00013   }
00014 
00015   ACE_INLINE
00016   bool
00017   ClientRequestDetails::should_be_processed (bool is_remote_request) const
00018   {
00019     return ((this->processing_mode_ == PortableInterceptor::LOCAL_AND_REMOTE) ||
00020             ((this->processing_mode_ == PortableInterceptor::REMOTE_ONLY) &&
00021              (is_remote_request)) ||
00022             ((this->processing_mode_ == PortableInterceptor::LOCAL_ONLY) &&
00023              (!is_remote_request)));
00024   }
00025 }
00026 
00027 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 12:51:39 2006 for TAO_PI by doxygen 1.3.6