困惑于Google GCM XMPP [英] Confused about Google GCM XMPP

查看:140
本文介绍了困惑于Google GCM XMPP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对如何实现与GCM的XMPP通信有点困惑。我应该在我的服务器上实现一个XMPP服务器还是一个XMPP客户端?



谢谢。

解决方案你应该在你的服务器上实现一个XMPP客户端,它将建立到GCM CCS服务器的连接。



正如在评论中提到的,你如果您希望设备进行云消息传递,则只需要XMPP。对于常规推送通知(云到设备消息),GCM HTTP端点已足够。

I'm a little bit confused about how to implement XMPP communication to GCM. Should I implement a XMPP server or a XMPP client on my server?

Thank you.

解决方案

You should implement a XMPP client on your server, which will establish a connection to the GCM CCS server.

As mentioned in a comment, you only need XMPP if you wish device to cloud messaging. For regular push notifications (cloud to device messaging), the GCM HTTP endpoint is sufficient.

这篇关于困惑于Google GCM XMPP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆