Re: callAll() return value

From: Doug Tody <dtody-at-nrao.edu>
Date: Tue, 16 Sep 2008 08:06:56 -0600 (MDT)


The usual way publish/subscribe works is that a client publishes events and has no idea who sees them, or if anyone is listening at all. The messaging system can discard the events if there are no listeners.

On Tue, 16 Sep 2008, Mark Taylor wrote:

> On Tue, 16 Sep 2008, Luigi Paioro wrote:
>
> > Hi!
> >
> > > However, thinking about it a bit more, a tidier solution might be for
> > > callAll() to return a map in which the keys are client-ids of the
> > > recipients, and the values are the corresponding msg-ids. Then callAll()
> > > provides all the same information as multiple call()s.
> > >
> > > Mark
> >
> > And what about notifyAll(..)? Respect to what you propose above I conceive
> > it should return a list of recipient-ids, right?
>
> yes, I guess so.
>
>
Received on 2008-09-16Z16:07:41