简体   繁体   English

带有Node.js的Google Cloud Messaging XMPP服务器

[英]Google Cloud Messaging XMPP Server with Node.js

Title is fairly self explanatory. 标题是相当自我解释的。 I need to create an XMPP server in Node.js to communicate with Google Cloud Messaging. 我需要在Node.js中创建一个XMPP服务器,以便与Google Cloud Messaging进行通信。 The XMPP connection should allow me to send messages from the server to the client (Android app) and also from the app back to the server without the app needing a seperate socket connection to the server (all messages routed through GCM. Could anyone perhaps guide me in the right direction? XMPP连接应该允许我将消息从服​​务器发送到客户端(Android应用程序),也可以从应用程序发送回服务器,而不需要应用程序与服务器的单独套接字连接(所有消息都通过GCM路由。任何人都可以指导我在正确的方向?

PS If I have provided insufficient information please let me know :) PS如果我提供的信息不足,请告诉我:)

It seems that a simple Google search return that there is an XMPP server developed in NodeJS: https://github.com/node-xmpp/node-xmpp-server 似乎一个简单的谷歌搜索返回在NodeJS中开发了一个XMPP服务器: https//github.com/node-xmpp/node-xmpp-server

This is likely what you want to deploy. 这可能是您要部署的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM