// Token: 0x060008D2 RID: 2258 RVA: 0x0001E19C File Offset: 0x0001C39C
        protected void OnSendingCompleted()
        {
            PosList <ArraySegment <byte> > sendingItems = this.GetSendingItems();

            sendingItems.Clear();
            sendingItems.Position = 0;
            if (!this.m_SendingQueue.TryDequeue(sendingItems))
            {
                this.m_IsSending = 0;
                return;
            }
            this.Sendpublic(sendingItems);
        }
示例#2
0
        protected void OnSendingCompleted()
        {
            PosList <ArraySegment <byte> > sendingItems = GetSendingItems();

            sendingItems.Clear();
            sendingItems.Position = 0;
            if (!m_SendingQueue.TryDequeue(sendingItems))
            {
                m_IsSending = 0;
            }
            else
            {
                Sendpublic(sendingItems);
            }
        }