예제 #1
0
파일: XSub.cs 프로젝트: knocte/netmq
        protected override void XAttachPipe(Pipe pipe, bool icanhasall)
        {
            Debug.Assert(pipe != null);
            m_fq.Attach (pipe);
            m_dist.Attach (pipe);

            //  Send all the cached subscriptions to the new upstream peer.
            m_subscriptions.Apply (s_sendSubscription, pipe);
            pipe.Flush ();
        }
예제 #2
0
파일: XSub.cs 프로젝트: knocte/netmq
 protected override void XHiccuped(Pipe pipe)
 {
     //  Send all the cached subscriptions to the hiccuped pipe.
     m_subscriptions.Apply (s_sendSubscription, pipe);
     pipe.Flush ();
 }