3 #include "Client_ORBInitializer.h"
4 #include "interceptors.h"
6 Client_ORBInitializer::Client_ORBInitializer (void)
11 Client_ORBInitializer::pre_init (
12 PortableInterceptor::ORBInitInfo_ptr
)
18 Client_ORBInitializer::post_init (
19 PortableInterceptor::ORBInitInfo_ptr info
)
22 CORBA::String_var orb_id
=
25 PortableInterceptor::ClientRequestInterceptor_ptr interceptor
=
26 PortableInterceptor::ClientRequestInterceptor::_nil ();
28 // Install the Echo client request interceptor
29 ACE_NEW_THROW_EX (interceptor
,
30 Echo_Client_Request_Interceptor (orb_id
.in ()),
33 PortableInterceptor::ClientRequestInterceptor_var
34 client_interceptor
= interceptor
;
36 info
->add_client_request_interceptor (client_interceptor
.in ());