Not sure I get why that is not created on default. When I am not doing
the
create-channel, an 'application' (e.g. curl or UPS) has no location to
send
a >payload for the device, right?
My understanding is that the device registers not the application, which
for example could be a web browser/user agent. It will then create channels
for potentially multiple applications. In the case of usage with the
Push-API, a service worker would handle the interaction with the WebPush
server and hand out channels to applications. It would also be responsible
for handling the inbound notifications, and can take different actions
depending on the state of the webapp (post it to an open window, store it,
show notification).
Can a device have multiple monitoring channels? (e.g. channels per
topic,
like #Rihanna #ZZtop #ACDC ? Can a device 'un monitor' ?
I think that an application would create separate channels for topic it
requires.
Not sure about unmonitoring. I've not see anything about that (unless I
completely missed it)
On 1 December 2014 at 17:49, Matthias Wessendorf <matzew(a)apache.org> wrote:
Hi,
after performing register, I get URIs for my channel/monitor, like:
register
[streamid:3] ChannelLink:
webpush/7df2add5-ec4b-42a2-805f-5f8fcf8faa96/channel, MonitorLink:
webpush/7df2add5-ec4b-42a2-805f-5f8fcf8faa96/monitor
I wonder why I do have to explictly create the channel?
create-channel webpush/7df2add5-ec4b-42a2-805f-5f8fcf8faa96/channel
Not sure I get why that is not created on default. When I am not doing the
create-channel, an 'application' (e.g. curl or UPS) has no location to send
a paylload for the device, right?
Can a device have multiple monitoring channels? (e.g. channels per topic,
like #Rihanna #ZZtop #ACDC ? Can a device 'un monitor' ?
Thanks :-)
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev