Exemplo n.º 1
0
Arquivo: XSub.cs Projeto: 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 ();
        }
Exemplo n.º 2
0
Arquivo: XSub.cs Projeto: 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 ();
 }