Squishy.Network.Throttle.RemoveAll C# (CSharp) Method

RemoveAll() public method

Removes all connections from this throttle.
public RemoveAll ( ) : void
return void
        public void RemoveAll()
        {
            if (Active)
            {
                if (ThrottlesDownload)
                    ResetReceiveBuffer();
                if (ThrottlesUpload)
                    ResetSendBuffer();
                foreach (Connection con in cons)
                {
                }
            }
            cons.Clear();
        }