1 #include "ServerInitializer.h"
2 #include "ServerInterceptor.h"
4 ServerInitializer::ServerInitializer ()
9 ServerInitializer::pre_init (
10 PortableInterceptor::ORBInitInfo_ptr
)
15 ServerInitializer::post_init (
16 PortableInterceptor::ORBInitInfo_ptr info
)
18 // get reference to the codec_factory
19 IOP::CodecFactory_var codec_factory
= info
->codec_factory();
21 // Create and register the request interceptors.
22 PortableInterceptor::ServerRequestInterceptor_var si
=
23 new ServerInterceptor (codec_factory
);
24 info
->add_server_request_interceptor (si
.in());