1 #include "Client_ORBInitializer.h"
2 #include "client_interceptor.h"
5 Client_ORBInitializer::pre_init (
6 PortableInterceptor::ORBInitInfo_ptr
)
11 Client_ORBInitializer::post_init (
12 PortableInterceptor::ORBInitInfo_ptr info
)
14 PortableInterceptor::ClientRequestInterceptor_ptr interceptor
=
15 PortableInterceptor::ClientRequestInterceptor::_nil ();
17 // Install the Echo client request interceptor
18 ACE_NEW_THROW_EX (interceptor
,
19 Echo_Client_Request_Interceptor (),
22 PortableInterceptor::ClientRequestInterceptor_var
23 client_interceptor
= interceptor
;
25 info
->add_client_request_interceptor (client_interceptor
.in ());