Пример #1
0
        /// <summary>
        /// Register the pipe with this socket.
        /// </summary>
        /// <param name="pipe">the Pipe to attach</param>
        /// <param name="icanhasall">not used</param>
        protected override void XAttachPipe(Pipe pipe, bool icanhasall)
        {
            Debug.Assert(pipe != null);

            // Don't delay pipe termination as there is no one
            // to receive the delimiter.
            pipe.SetNoDelay();

            m_loadBalancer.Attach(pipe);
        }
Пример #2
0
 /// <summary>
 /// Register the pipe with this socket.
 /// </summary>
 /// <param name="pipe">the Pipe to attach</param>
 /// <param name="icanhasall">not used</param>
 protected override void XAttachPipe(Pipe pipe, bool icanhasall)
 {
     Debug.Assert(pipe != null);
     m_fairQueueing.Attach(pipe);
     m_loadBalancer.Attach(pipe);
 }
Пример #3
0
 /// <summary>
 /// Register the pipe with this socket.
 /// </summary>
 /// <param name="pipe">the Pipe to attach</param>
 /// <param name="icanhasall">not used</param>
 protected override void XAttachPipe(Pipe pipe, bool icanhasall)
 {
     Assumes.NotNull(pipe);
     m_fairQueueing.Attach(pipe);
     m_loadBalancer.Attach(pipe);
 }