/// <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); }
/// <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; } }
/// <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; } } }
/// <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); }
/// <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); }
protected override void XTerminated(Pipe pipe) { m_fairQueueing.Terminated(pipe); }