blob: 3b49855175858638580d6bfad280aea9a9144a37 (
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
|
#include "Servant_Locator.h"
#include "ace/Log_Msg.h"
#include "testC.h"
#include "ace/OS_NS_string.h"
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)
{
}
|