void SetupServerSinkChain(IServerChannelSinkProvider providerChain)
        {
            // collect channel data
            var provider = providerChain;

            while (provider != null)
            {
                provider.GetChannelData(ChannelDataStore);
                provider = provider.Next;
            }

            // setup server sink chain
            var next = ChannelServices.CreateServerChannelSinkChain(providerChain, this);

            ServerChannelSink = new UdpServerChannelSink(next);
        }
示例#2
0
        void SetupServerSinkChain(IServerChannelSinkProvider providerChain)
        {
            // collect channel data
            var provider = providerChain;
            while (provider != null)
            {
                provider.GetChannelData(ChannelDataStore);
                provider = provider.Next;
            }

            // setup server sink chain
            var next = ChannelServices.CreateServerChannelSinkChain(providerChain, this);
            ServerChannelSink = new UdpServerChannelSink(next);
        }