1 #include "ClientInitializer.h"
2 #include "ClientInterceptor.h"
5 ClientInitializer::ClientInitializer (void)
10 ClientInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr
)
15 ClientInitializer::post_init (PortableInterceptor::ORBInitInfo_ptr info
)
18 // Create and register the request interceptors.
19 PortableInterceptor::ClientRequestInterceptor_ptr ci
=
20 PortableInterceptor::ClientRequestInterceptor::_nil ();
24 ci
= new ClientInterceptor();
28 std::cerr
<< "Exception occurred creating ClientInterceptor" << std::endl
;
31 PortableInterceptor::ClientRequestInterceptor_var ci_interceptor
=
34 info
->add_client_request_interceptor (ci_interceptor
.in ());