Beispiel #1
0
        protected override void DoStart()
        {
            base.DoStart();
            m_Serializer = new SlimSerializer(SyncBinding.KNOWN_SERIALIZER_TYPES);
            if (m_SocketFactory == null)
            {
                m_SocketFactory = new MpxWinSocketFactory();
            }

            m_Chunks = new List <MemChunk>();
        }
Beispiel #2
0
        protected override void DoConfigure(IConfigSectionNode node)
        {
            base.DoConfigure(node);

            var nsf = node[CONFIG_SOCKET_FACTORY_SECT];

            if (nsf.Exists)
            {
                m_SocketFactory = FactoryUtils.MakeAndConfigure <MpxSocketFactory>(nsf, typeof(MpxWinSocketFactory));
            }
        }