callAll() return value

Doug Tody dtody at nrao.edu
Tue Sep 16 07:06:56 PDT 2008


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.

	- Doug


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.
> 
> 



More information about the apps-samp mailing list