public void pre_init(ORBInitInfo info) { m_a = new TestInterceptor(String.Empty, "A"); m_b = new TestInterceptor(String.Empty, "B"); m_c = new TestInterceptor(String.Empty, "C"); // WARNING: uses implementation detail to register interceptors in the order A, B, C. // that's not guaranteed to work for non-test-cases. (not specified by standard). // if implementation changes, test-case must be updated. info.add_client_request_interceptor(m_a); info.add_client_request_interceptor(m_b); info.add_client_request_interceptor(m_c); }
public void pre_init(ORBInitInfo info) { m_a = new TestInterceptor(String.Empty, "A"); m_b = new TestInterceptor(String.Empty, "B"); m_c = new TestInterceptor(String.Empty, "C"); // WARNING: uses implementation detail to register interceptors in the order A, B, C. // that's not guaranteed to work for non-test-cases. (not specified by standard). // if implementation changes, test-case must be updated. info.add_client_request_interceptor(m_a); info.add_client_request_interceptor(m_b); info.add_client_request_interceptor(m_c); }
public void pre_init(ORBInitInfo info) { Codec codec = info.codec_factory.create_codec( new Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2)); int slot_id = info.allocate_slot_id(); m_requestIntercept = new TestRequestInterceptor(String.Empty, "A", codec, slot_id); info.add_client_request_interceptor(m_requestIntercept); }
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, "A", codec); info.add_client_request_interceptor(m_requestIntercept); }