public void pre_init(ORBInitInfo info) { int slotId = info.allocate_slot_id(); Codec codec = info.codec_factory.create_codec( new Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2)); m_requestIntercept = new TestRequestInterceptor(String.Empty, "request", codec, slotId); info.add_server_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); }
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); }
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_server_request_interceptor(m_a); info.add_server_request_interceptor(m_b); info.add_server_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 post_init(ORBInitInfo info) { // nothing to do }