ClientRequestDetails.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: ClientRequestDetails.inl 70000 2005-12-23 10:17:23Z jwillemsen $
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 Tue Feb 2 17:42:01 2010 for TAO_PI by  doxygen 1.4.7