[OpenAjaxInterop] hub code changes

Howard Weingram weingram at tibco.com
Thu Dec 11 12:44:28 PST 2008


Thanks, Javier.

Jon, unless someone objects, let¹s do #1.

Regards,
Howard



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()
>>> callback
>>> > > 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
>>> probably
>>> > > 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
> otherwise. 
> 
> 
> Javier H Pedemonte
> 
> 
> 
> 
> _______________________________________________
> interop mailing list
> interop at openajax.org
> http://openajax.org/mailman/listinfo/interop



--
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...
URL: http://openajax.org/pipermail/interop/attachments/20081211/71d8d234/attachment.html 


More information about the interop mailing list