XG.Plugin.Irc.ThrottledStream.Reset C# (CSharp) 메소드

Reset() 보호된 메소드

protected Reset ( ) : void
리턴 void
        protected void Reset()
        {
            long difference = CurrentMilliseconds - _start;

            // Only reset counters when a known history is available of more then second.
            if (difference > 1000)
            {
                _byteCount = 0;
                _start = CurrentMilliseconds;
            }
        }