[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    Re: [zeromq-dev] XPUB: test for subscribed topic?
From:       Pieter Hintjens <ph () imatix ! com>
Date:       2015-09-18 16:21:07
Message-ID: CADL5_shz8O4zr+zHcyE4VHfTz_i3qxmV0FKzY6-6jO6MQVAbww () mail ! gmail ! com
[Download RAW message or body]

Good point. What kind of API would you imagine to access this?
(Please, no more socket options :-)

On Fri, Sep 18, 2015 at 4:18 PM, Michael Haberler <mail17@mah.priv.at> wrote:
> 
> > Am 18.09.2015 um 13:14 schrieb Pieter Hintjens <ph@imatix.com>:
> > 
> > There's no way to do this. To get richer pub/sub state, I'd use
> > dealer-router sockets and do the subscription management/sending
> > myself.
> 
> Well the trie of subscriptions is in place, it just has no API
> 
> IOW: any objections against a stab at a libzmq-level trie accessor \
> was_subscribed()? 
> I happen to dislike tracking existing state by an extra layer just because the \
> underlying state has no API 
> 
> 
> > 
> > On Fri, Sep 18, 2015 at 11:19 AM, Michael Haberler <mail17@mah.priv.at> wrote:
> > > is there a way to test if a certain topic is subscribed on an XPUB socket?  \
> > > (_without_ tracking subscribe messages with VERBOSE)? 
> > > thanks,
> > > - Michael
> > > _______________________________________________
> > > zeromq-dev mailing list
> > > zeromq-dev@lists.zeromq.org
> > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev@lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic