3 #include "Server_ORBInitializer.h"
4 #include "server_interceptor.h"
6 Server_ORBInitializer::Server_ORBInitializer (int *counter
)
13 Server_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr
)
18 Server_ORBInitializer::post_init ( PortableInterceptor::ORBInitInfo_ptr info
)
25 PortableInterceptor::ServerRequestInterceptor_ptr interceptor
=
26 PortableInterceptor::ServerRequestInterceptor::_nil ();
28 // Install the Echo server request interceptor
29 ACE_NEW_THROW_EX (this->intr_
,
30 Ping_Death_Request_Interceptor (this->counter_
),
33 PortableInterceptor::ServerRequestInterceptor_var
34 server_interceptor
= interceptor
;
36 info
->add_server_request_interceptor (this->intr_
); //server_interceptor.in ());
40 Server_ORBInitializer::set_poa (PortableServer::POA_ptr poa
)
47 this->intr_
->set_poa (poa
);