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); }