Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_3276_Regression / Servant_Locator.cpp
blob3b49855175858638580d6bfad280aea9a9144a37
1 #include "Servant_Locator.h"
2 #include "ace/Log_Msg.h"
3 #include "testC.h"
4 #include "ace/OS_NS_string.h"
6 PortableServer::Servant
7 Servant_Locator::preinvoke (const PortableServer::ObjectId & /* oid */,
8 PortableServer::POA_ptr /* poa_ptr */,
9 const char * /* op */,
10 PortableServer::ServantLocator::Cookie & /* cookie */)
12 ACE_DEBUG ((LM_DEBUG,
13 "About to throw forward request exception for target...\n"));
14 // Throw a nil forward.
15 throw PortableServer::ForwardRequest (CORBA::Object::_nil ());
18 void
19 Servant_Locator::postinvoke (const PortableServer::ObjectId &,
20 PortableServer::POA_ptr ,
21 const char *,
22 PortableServer::ServantLocator::Cookie ,
23 PortableServer::Servant)