Beispiel #1
0
    internal void Progress(long AddedBytes, VirtualConnection vConnection)
    {
        if (zSeg != null)
        {
            long rBytes = Interlocked.Read(ref AddedBytes);

            zSeg.Progress(rBytes);

            VirtualSlot vSlot = vConnection.Scheduler.Slots.Item(zSeg.SlotID);

            if (vSlot != null)
            {
                vSlot.Progress(rBytes);
            }
        }
    }