1 #include "Client_ORBInitializer.h"
2 #include "client_interceptor.h"
4 Client_ORBInitializer::Client_ORBInitializer ()
9 Client_ORBInitializer::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr
)
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 (),
26 PortableInterceptor::ClientRequestInterceptor_var
27 client_interceptor
= interceptor
;
29 info
->add_client_request_interceptor (client_interceptor
.in ());