Exemplo n.º 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);
        }
Exemplo n.º 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;
            }
        }
Exemplo n.º 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;
                }
            }
        }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 6
0
 protected override void XTerminated(Pipe pipe)
 {
     m_fairQueueing.Terminated(pipe);
 }