Esempio n. 1
0
        public void SetUp()
        {
            m_serFactory = new SerializerFactory();
            CodecFactory codecFactory =
                new CodecFactoryImpl(m_serFactory);
            Codec codec =
                codecFactory.create_codec(
                    new Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2));

            m_serFactory.Initalize(new SerializerFactoryConfig(), IiopUrlUtil.Create(codec));
        }
Esempio n. 2
0
 public void SetUp()
 {
     m_serFactory =
         new SerializerFactory();
     omg.org.IOP.CodecFactory codecFactory =
         new CodecFactoryImpl(m_serFactory);
     m_codec =
         codecFactory.create_codec(
             new omg.org.IOP.Encoding(omg.org.IOP.ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
     m_iiopUrlUtil =
         IiopUrlUtil.Create(m_codec, new object[] {
         Services.CodeSetService.CreateDefaultCodesetComponent(m_codec)
     });
     m_serFactory.Initalize(new SerializerFactoryConfig(), m_iiopUrlUtil);
 }
Esempio n. 3
0
        public void SetUp()
        {
            SerializerFactory serFactory =
                new SerializerFactory();
            CodecFactory codecFactory =
                new CodecFactoryImpl(serFactory);

            m_codec =
                codecFactory.create_codec(
                    new Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
            serFactory.Initalize(new SerializerFactoryConfig(),
                                 IiopUrlUtil.Create(m_codec,
                                                    new object[] {
                Services.CodeSetService.CreateDefaultCodesetComponent(m_codec)
            }));
            m_defaultCodeSetTaggedComponent =
                Services.CodeSetService.CreateDefaultCodesetComponent(m_codec);
        }