public void pre_init(ORBInitInfo info) {
     Codec codec = info.codec_factory.create_codec(
                       new Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
     m_requestIntercept = new TestRequestInterceptor(String.Empty, "request", codec);
     m_iorIntercept = new TestIORInterceptor(String.Empty, "ior", codec);
     info.add_server_request_interceptor(m_requestIntercept);
     info.add_ior_interceptor(m_iorIntercept);
 }
Exemplo n.º 2
0
        public void pre_init(ORBInitInfo info)
        {
            Codec codec = info.codec_factory.create_codec(
                new Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2));

            m_requestIntercept = new TestRequestInterceptor(String.Empty, "request", codec);
            m_iorIntercept     = new TestIORInterceptor(String.Empty, "ior", codec);
            info.add_server_request_interceptor(m_requestIntercept);
            info.add_ior_interceptor(m_iorIntercept);
        }