blob: 04a89167a0dd9de6ebcde58371a65d74198cddf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// -*- C++ -*-
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
ACE_INLINE
ClientRequestDetails::ClientRequestDetails (void)
: processing_mode_(PortableInterceptor::LOCAL_AND_REMOTE)
{
}
ACE_INLINE
bool
ClientRequestDetails::should_be_processed (bool is_remote_request) const
{
return ((this->processing_mode_ == PortableInterceptor::LOCAL_AND_REMOTE) ||
((this->processing_mode_ == PortableInterceptor::REMOTE_ONLY) &&
(is_remote_request)) ||
((this->processing_mode_ == PortableInterceptor::LOCAL_ONLY) &&
(!is_remote_request)));
}
}
TAO_END_VERSIONED_NAMESPACE_DECL
|