[OpenAjaxInterop] hub code changes
weingram at tibco.com
Thu Dec 11 12:44:28 PST 2008
Jon, unless someone objects, let¹s do #1.
On 12/11/08 11:44 AM, "Javier H Pedemonte" <pedemont at us.ibm.com> wrote:
> Howard Weingram <weingram at tibco.com> wrote on 12/09/2008 09:14:44 PM:
>>> > > In the JSDoc for _sendToClient(), you state that the onPublish()
>>> > > takes 'null' for the publisher ID if the publisher is a
>> > ManagedHub. However,
>>> > > if the user has two or more managed hubs and uses the same onPublish()
>>> > > callback, they would not be able to differentiate between the
>> > multiple managed
>>> > > hubs. Of course, this is probably a pretty rare use case, so we
>>> > > don't need to consider it too much. Just wanted to throw it out there.
>> > The following options are available to us:
>> > 1. Tell the programmer to use different scope objects
>> > (which can be specified in the ManagedHub constructor
>> > params) to differentiate, or to just use different callbacks.
>> > 1 works today, and since we agree that the scenario you mentioned will
>> > happen quite infrequently, and that the developer has complete control over
>> > whether it happens or not, I would be happy to leave this as is.
> I agree completely. I just wanted to bring this up, to see if anyone thought
> Javier H Pedemonte
> interop mailing list
> interop at openajax.org
Howard Weingram 650.846.1000
Principal Architect TIBCO Software Inc.
TIBCO PageBus(TM) delivers ultra-lightweight
publish-subscribe messaging for mash-ups.
Learn more at http://www.pagebus.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the interop