/usr/include/tao/PI_Server/ServerRequestDetails.inl is in libtao-dev 6.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | // -*- C++ -*-
//
// $Id: ServerRequestDetails.inl 70000 2005-12-23 10:17:23Z jwillemsen $
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
ACE_INLINE
ServerRequestDetails::ServerRequestDetails (void)
: processing_mode_(PortableInterceptor::LOCAL_AND_REMOTE)
{
}
ACE_INLINE
bool
ServerRequestDetails::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
|