Exemple #1
0
        public void WriteWindowUpdate(Int32 windowSize)
        {
            var frame = new WindowUpdateFrame(_id, windowSize);
            _writeQueue.WriteFrame(frame);

            if (OnFrameSent != null)
            {
                OnFrameSent(this, new FrameSentArgs(frame));
            }
        }
 protected void SendWindowUpdate(int delta)
 {
     WindowUpdateFrame windowUpdate = new WindowUpdateFrame(Id, delta);
     _writeQueue.WriteFrameAsync(windowUpdate, Priority.Control);
 }