[aerogear-dev] Questions about the Simple Push Server

Matthias Wessendorf matzew at apache.org
Fri May 24 11:57:06 EDT 2013


On Fri, May 24, 2013 at 4:30 PM, Kris Borchers <kris at redhat.com> wrote:

>
> On May 24, 2013, at 9:24 AM, Sebastien Blanc <scm.blanc at gmail.com> wrote:
>
> >  I have 2 small questions about the simplePushServer which are not
> crystal clear for me :
> >
> > 1. When sending a notification, looks like, SPS only sends it to one
> User Agent (I can't find the "broadcast" logic), does that mean that UP has
> to do 1 PUT request to SPS per user agent ?
>
> Yes. Broadcast is something we added via UP. It is not part of the SPS
> spec.
> > 1.a is a channel always associated to 1 user agent ?
>
> Yes
>


think your private email account :)



> >
> > 2. Does the content of the notification really only contains a version
> number ? (How do we pass other info, or is it just a trigger and the
> responsability of the UA to request to an app server the info?
>
> Yes, only version. That is why it's called "Simple". It is meant only to
> inform the app that new information is available for a particular channel
> and it is up to the app to decide what to do with it. That way, the app has
> choices. It could immediately fetch the new data, it could prompt the user
> that new data is available, etc.
> >
> > Thanks
> > Seb
> >
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130524/5a42bbf4/attachment.html 


More information about the aerogear-dev mailing list