More tests update
[ACE_TAO.git] / TAO / tests / Bug_3853_Regression / Client_ORBInitializer.cpp
blobb41b62299382030946b3ecf958eda67e6f1423e4
1 #include "Client_ORBInitializer.h"
2 #include "client_interceptor.h"
4 Client_ORBInitializer::Client_ORBInitializer ()
8 void
9 Client_ORBInitializer::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr)
14 void
15 Client_ORBInitializer::post_init (
16 PortableInterceptor::ORBInitInfo_ptr info)
18 PortableInterceptor::ClientRequestInterceptor_ptr interceptor =
19 PortableInterceptor::ClientRequestInterceptor::_nil ();
21 // Install the Echo client request interceptor
22 ACE_NEW_THROW_EX (interceptor,
23 Echo_Client_Request_Interceptor (),
24 CORBA::NO_MEMORY ());
26 PortableInterceptor::ClientRequestInterceptor_var
27 client_interceptor = interceptor;
29 info->add_client_request_interceptor (client_interceptor.in ());