00001
00002
00003
00004
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006
00007 namespace TAO
00008 {
00009 ACE_INLINE
00010 ServerRequestDetails::ServerRequestDetails (void)
00011 : processing_mode_(PortableInterceptor::LOCAL_AND_REMOTE)
00012 {
00013 }
00014
00015 ACE_INLINE
00016 bool
00017 ServerRequestDetails::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