Exemplo n.º 1
0
        } // OnDownloadCompleted

        protected virtual void OnSectionReceived(object sender, DvbStpSimpleClient.SectionReceivedEventArgs e)
        {
            if (SectionReceived == null)
            {
                return;
            }

            SectionReceived(sender, e);
        } // OnSectionReceived
Exemplo n.º 2
0
        } // Clean

        private void OnSectionReceived()
        {
            DvbStpSimpleClient.SectionReceivedEventArgs e;

            e = new DvbStpSimpleClient.SectionReceivedEventArgs()
            {
                DatagramCount      = DatagramCount,
                PayloadId          = Header.PayloadId,
                SegmentIdNetworkLo = Header.SegmentIdNetworkLo,
                SegmentIdNetworkHi = Header.SegmentIdNetworkHi,
                SegmentVersion     = Header.SegmentVersion
            };

            SectionReceived?.Invoke(this, e);
        } // OnSectionReceived
Exemplo n.º 3
0
        } // FireDownloadCompleted

        private void FireSectionReceived()
        {
            if (SectionReceived == null)
            {
                return;
            }

            var e = new DvbStpSimpleClient.SectionReceivedEventArgs()
            {
                DatagramCount      = this.DatagramCount,
                PayloadId          = Header.PayloadId,
                SegmentIdNetworkLo = Header.SegmentIdNetworkLo,
                SegmentIdNetworkHi = Header.SegmentIdNetworkHi,
                SegmentVersion     = Header.SegmentVersion
            };

            OnSectionReceived(this, e);
        } // FireSectionReceived
Exemplo n.º 4
0
        } // OnDownloadCompleted

        protected virtual void OnSectionReceived(object sender, DvbStpSimpleClient.SectionReceivedEventArgs e)
        {
            SectionReceived?.Invoke(sender, e);
        } // OnSectionReceived