public Line(EndPoint end_point) { EndPoint = end_point; _Dispenser = new BufferDispenser(EndPoint, SocketMessageFactory.Instance); _Rectifier = new PackageRectifier(); _SendPackages = new System.Collections.Concurrent.ConcurrentQueue <SocketMessage>(); _ReceivePackages = new System.Collections.Concurrent.ConcurrentQueue <SocketMessage>(); _InputPackages = new System.Collections.Concurrent.ConcurrentQueue <SocketMessage>(); _Waiter = new CongestionRecorder(HungryLimit: 3); ResetTimeout(); }