/// <summary>
 /// Constructs a giop message handler, which uses the given
 /// ArgumentsSerializerFactory for serializing/deserializing
 /// requests/replys. The headerFlags parameter defines the
 /// used header flags for messages initiated by this handler.
 /// The interceptionOptions[] provides the information on
 /// channel level interceptors.
 /// </summary>
 internal GiopMessageHandler(ArgumentsSerializerFactory argSerFactory,
                             byte headerFlags,
                             IInterceptionOption[] interceptionOptions) {
     m_ser = new GiopMessageBodySerialiser(argSerFactory);
     m_headerFlags = headerFlags;
     m_interceptionOptions = interceptionOptions;
 }
 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);
 }
 /// <summary>
 /// Constructs a giop message handler, which uses the given
 /// ArgumentsSerializerFactory for serializing/deserializing
 /// requests/replys. The headerFlags parameter defines the
 /// used header flags for messages initiated by this handler.
 /// </summary>
 internal GiopMessageHandler(ArgumentsSerializerFactory argSerFactory,
                             byte headerFlags) : this
     (argSerFactory, headerFlags,
      InterceptorManager.EmptyInterceptorOptions) {
 }
 internal GiopMessageBodySerialiser(ArgumentsSerializerFactory argSerFactory) {
     m_serFactory = argSerFactory.SerializerFactory;
     m_argSerFactory = argSerFactory;
     m_codecFactory = new CodecFactoryImpl(m_serFactory);
 }