public void SetUp()
        {
            SerializerFactory serFactory = new SerializerFactory();

            omg.org.IOP.CodecFactory codecFactory =
                new Ch.Elca.Iiop.Interception.CodecFactoryImpl(serFactory);
            omg.org.IOP.Codec codec =
                codecFactory.create_codec(
                    new omg.org.IOP.Encoding(omg.org.IOP.ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
            serFactory.Initalize(new SerializerFactoryConfig(), IiopUrlUtil.Create(codec));
            m_argSerFactory = new ArgumentsSerializerFactory(serFactory);
        }
예제 #2
0
        public void SetUp()
        {
            m_serFactory =
                new SerializerFactory();
            CodecFactory codecFactory =
                new Ch.Elca.Iiop.Interception.CodecFactoryImpl(m_serFactory);

            m_codec =
                codecFactory.create_codec(
                    new omg.org.IOP.Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
            IiopUrlUtil iiopUrlUtil =
                IiopUrlUtil.Create(m_codec, new object[] {
                Services.CodeSetService.CreateDefaultCodesetComponent(m_codec)
            });

            m_serFactory.Initalize(new SerializerFactoryConfig(), iiopUrlUtil);
        }
예제 #3
0
        public void Setup()
        {
            m_version   = new GiopVersion(1, 2);
            m_hostName  = "localhost";
            m_port      = 8089;
            m_objectKey = new byte[] { 65 };
            m_profile   = new InternetIiopProfile(m_version, m_hostName, m_port, m_objectKey);

            m_serFactory =
                new SerializerFactory();
            CodecFactory codecFactory =
                new Ch.Elca.Iiop.Interception.CodecFactoryImpl(m_serFactory);

            m_codec =
                codecFactory.create_codec(
                    new omg.org.IOP.Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
            IiopUrlUtil iiopUrlUtil =
                IiopUrlUtil.Create(m_codec, new object[] {
                Services.CodeSetService.CreateDefaultCodesetComponent(m_codec)
            });

            m_serFactory.Initalize(new SerializerFactoryConfig(), iiopUrlUtil);
        }
예제 #4
0
        public void Setup()
        {
            m_version = new GiopVersion(1, 2);
            m_hostName = "localhost";
            m_port = 8089;
            m_objectKey = new byte[] { 65 };
            m_profile = new InternetIiopProfile(m_version, m_hostName, m_port, m_objectKey);

            m_serFactory =
                new SerializerFactory();
            CodecFactory codecFactory =
                new Ch.Elca.Iiop.Interception.CodecFactoryImpl(m_serFactory);
            m_codec =
                codecFactory.create_codec(
                    new omg.org.IOP.Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
            IiopUrlUtil iiopUrlUtil =
                IiopUrlUtil.Create(m_codec, new object[] {
                    Services.CodeSetService.CreateDefaultCodesetComponent(m_codec)});
            m_serFactory.Initalize(new SerializerFactoryConfig(), iiopUrlUtil);
        }
예제 #5
0
 public void SetUp()
 {
     m_serFactory =
         new SerializerFactory();
     CodecFactory codecFactory =
         new Ch.Elca.Iiop.Interception.CodecFactoryImpl(m_serFactory);
     m_codec =
         codecFactory.create_codec(
             new omg.org.IOP.Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
     IiopUrlUtil iiopUrlUtil =
         IiopUrlUtil.Create(m_codec, new object[] {
             Services.CodeSetService.CreateDefaultCodesetComponent(m_codec)});
     m_serFactory.Initalize(new SerializerFactoryConfig(), iiopUrlUtil);
 }
 public void SetUp() {
     SerializerFactory serFactory = new SerializerFactory();
     omg.org.IOP.CodecFactory codecFactory =
         new Ch.Elca.Iiop.Interception.CodecFactoryImpl(serFactory);
     omg.org.IOP.Codec codec =
         codecFactory.create_codec(
             new omg.org.IOP.Encoding(omg.org.IOP.ENCODING_CDR_ENCAPS.ConstVal, 1, 2));
     serFactory.Initalize(new SerializerFactoryConfig(), IiopUrlUtil.Create(codec));
     m_argSerFactory = new ArgumentsSerializerFactory(serFactory);
 }