/usr/include/tao/PI_Server/ServerRequestInfo.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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | // -*- C++ -*-
//
// $Id: ServerRequestInfo.inl 79705 2007-09-24 07:45:37Z johnnyw $
#include "tao/PortableServer/Servant_Upcall.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
TAO::ServerRequestInfo::ServerRequestInfo (
TAO_ServerRequest & server_request,
TAO::Argument * const * args,
size_t nargs,
void * servant_upcall,
CORBA::TypeCode_ptr const * exceptions,
CORBA::ULong nexceptions)
: server_request_ (server_request)
, args_ (args)
, nargs_ (nargs)
, servant_upcall_ (
static_cast<TAO::Portable_Server::Servant_Upcall *> (servant_upcall))
, exceptions_ (exceptions)
, nexceptions_ (nexceptions)
{
}
ACE_INLINE void
TAO::ServerRequestInfo::forward_reference (
PortableInterceptor::ForwardRequest &exc)
{
// Note that we're converting the ForwardRequest exception in to a
// LOCATION_FORWARD reply, so we do not set the exception status.
this->server_request_.pi_reply_status (PortableInterceptor::LOCATION_FORWARD);
// Store the forward reference in the TAO_ServerRequest object.
this->server_request_.forward_location (exc.forward.in ());
}
ACE_INLINE void
TAO::ServerRequestInfo::forward_reference (CORBA::Object_ptr obj)
{
// We only get here if a servant manager threw a
// PortableServer::ForwardRequest exception.
this->server_request_.pi_reply_status (PortableInterceptor::LOCATION_FORWARD);
// Store the forward reference in the TAO_ServerRequest object.
this->server_request_.forward_location (obj);
}
ACE_INLINE TAO_ServerRequest &
TAO::ServerRequestInfo::server_request (void)
{
return this->server_request_;
}
TAO_END_VERSIONED_NAMESPACE_DECL
|