コード例 #1
0
        /// <summary>
        /// This is an override of the abstract method that gets called to signal that the given pipe is to be removed from this socket.
        /// </summary>
        /// <param name="pipe">the Pipe that is being removed</param>
        protected override void XTerminated(Pipe pipe)
        {
            bool removed = m_outpipes.Remove(pipe.RoutingId);

            Debug.Assert(removed);
            m_fairQueueing.Terminated(pipe);
        }
コード例 #2
0
        /// <summary>
        /// This is an override of the abstract method that gets called to signal that the given pipe is to be removed from this socket.
        /// </summary>
        /// <param name="pipe">the Pipe that is being removed</param>
        protected override void XTerminated(Pipe pipe)
        {
            m_outpipes.TryGetValue(pipe.RoutingId, out Outpipe old);
            m_outpipes.Remove(pipe.RoutingId);

            Debug.Assert(old != null);

            m_fairQueueing.Terminated(pipe);
            if (pipe == m_currentOut)
            {
                m_currentOut = null;
            }
        }
コード例 #3
0
        /// <summary>
        /// This is an override of the abstract method that gets called to signal that the given pipe is to be removed from this socket.
        /// </summary>
        /// <param name="pipe">the Pipe that is being removed</param>
        protected override void XTerminated(Pipe pipe)
        {
            if (!m_anonymousPipes.Remove(pipe))
            {
                m_outpipes.TryGetValue(pipe.Identity, out Outpipe old);
                m_outpipes.Remove(pipe.Identity);

                Debug.Assert(old != null);

                m_fairQueueing.Terminated(pipe);
                if (pipe == m_currentOut)
                {
                    m_currentOut = null;
                }
            }
        }
コード例 #4
0
 /// <summary>
 /// This is an override of the abstract method that gets called to signal that the given pipe is to be removed from this socket.
 /// </summary>
 /// <param name="pipe">the Pipe that is being removed</param>
 protected override void XTerminated(Pipe pipe)
 {
     m_fairQueueing.Terminated(pipe);
     m_loadBalancer.Terminated(pipe);
 }
コード例 #5
0
 /// <summary>
 /// This is an override of the abstract method that gets called to signal that the given pipe is to be removed from this socket.
 /// </summary>
 /// <param name="pipe">the Pipe that is being removed</param>
 protected override void XTerminated(Pipe pipe)
 {
     m_fairQueueing.Terminated(pipe);
     m_distribution.Terminated(pipe);
 }
コード例 #6
0
 protected override void XTerminated(Pipe pipe)
 {
     m_fairQueueing.Terminated(pipe);
 }