猎户座上下文语境经纪人订阅与Android客户端 [英] Orion Context Broker Context subscriptions with Android client

查看:249
本文介绍了猎户座上下文语境经纪人订阅与Android客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能从一个Android应用程序使上下文订阅猎户座语境经纪资源呢?对于NGSI10基本操作(updateContext和queryContext)我supose任何普通的Andr​​oid REST客户端可以使用,但如何才能通过subscribeContext订阅?

Is it possible to make context subscriptions to Orion Context Broker resources from an Android application? For NGSI10 basic operations (updateContext and queryContext) I supose that any common android rest client can be used, but how can we subscribe through subscribeContext?

在此先感谢。

推荐答案

披露:我Bastly的联合创始人

Disclosure: I'm the co-founder of Bastly

Bastly是开源解决方案上,这样你就可以在你自己的情况下,部署我们的软件,并免费使用它(AGPL2)

Bastly is an open source solution, so you can deploy on your own instances our software and use it for free (AGPL2)

黑客计划是够测试出来,无需部署实例的麻烦,则是基于有多少并发用户/您发送的邮件有偿服务。不要犹豫,问我们的启动计划,折扣等。

The hacker plan is enough to test it out without the hassle of deploying the instances, then is a paid service based on how many concurrent users/messages you send. Don't hesitate to ask us for startup plans, discounts, etc.

注册以获得一个APIKEY,你可以测试出来的那一刻 HTTP推对象,以我们的ORION例如:/ /orion.bastly.com:1026/ 并按照文档的https:// github上。 COM / Bastly / bastly-SDK-的Andr​​oid 如何让基于信道的更新。我要让一步来步指南Orion在下周。

Register to get an APIKEY and you can test it out pushing objects to our ORION instance at the moment http://orion.bastly.com:1026/ and following the doc https://github.com/Bastly/bastly-sdk-android how to get updates based on a channel. I'll make a step-to-step guide for Orion in the next week.

我们正在研究允许在用户面板配置自己的猎户座的实例,这将是准备在下周左右

We are working on allowing to config your own Orion instance from the user panel, it will be ready around next week

ping通我的alex@bastly.com的任何帮助,你可能需要。

Ping me on alex@bastly.com for any help that you may need.

具体code处理猎户座认购推到插座上Bastly /连接器,其余的:

The specific code that handles the Orion subscription pushes to sockets is on Bastly/connector-rest:

https://github.com/Bastly/connector-rest

我们使用ZeroMQ发送跨平台的消息,并从ZeroMQ一个翻译SocketIO的网,查士奇工人负责的:

We use ZeroMQ to send messages across platforms and a translator from ZeroMQ to SocketIO for webs, chaski workers are in charge of that:

https://github.com/Bastly/chaski

和通过阿塔瓦尔帕处理的决定所有的请求转发到何处使用数据总线的消息和一个操作总线:

And all the request are handled through Atahualpa that decides where to forward the messages using a data bus and an operations bus:

https://github.com/Bastly/atahualpa

这篇关于猎户座上下文语境经纪人订阅与Android客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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