blob: 580776adf3efd5f1c6d8e56e704e9211b759defb (
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
25
26
27
28
29
|
// $Id$
#include "Servant_Locator.h"
#include "ace/Log_Msg.h"
#include "testC.h"
#include "ace/OS_NS_string.h"
ACE_RCSID(Forwarding, Servant_Locator, "$Id$")
PortableServer::Servant
Servant_Locator::preinvoke (const PortableServer::ObjectId & /* oid */,
PortableServer::POA_ptr /* poa_ptr */,
const char * /* op */,
PortableServer::ServantLocator::Cookie & /* cookie */)
{
ACE_DEBUG ((LM_DEBUG,
"About to throw forward request exception for target...\n"));
// Throw a nil forward.
throw PortableServer::ForwardRequest (CORBA::Object::_nil ());
}
void
Servant_Locator::postinvoke (const PortableServer::ObjectId &,
PortableServer::POA_ptr ,
const char *,
PortableServer::ServantLocator::Cookie ,
PortableServer::Servant)
{
}
|