Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / TransportCurrent / lib / Client_ORBInitializer.cpp
blob5d78736cbf073ed4bc6b082b68ccc8f2fc67941a
1 // -*- C++ -*-
2 #include "ace/Log_Msg.h"
4 #include "Client_Request_Interceptor.h"
5 #include "Client_ORBInitializer.h"
7 namespace Test
9 Client_ORBInitializer::Client_ORBInitializer
10 (PortableInterceptor::ClientRequestInterceptor_ptr interceptor)
11 : interceptor_
12 (PortableInterceptor::ClientRequestInterceptor::_duplicate (interceptor))
14 /* no-op */
17 Client_ORBInitializer::~Client_ORBInitializer ()
19 /* no-op */
22 void
23 Client_ORBInitializer::pre_init(PortableInterceptor::ORBInitInfo*)
25 /* no-op */
28 // A specialization to handle client-side interceptors
29 void Client_ORBInitializer::post_init (PortableInterceptor::ORBInitInfo* oii)
31 oii->add_client_request_interceptor (this->interceptor_.in ());