如何使用 smack 查明 JID 的给定资源是否在线/离线
我如何判断 [email protected]/balkony(完整 JID! ) 在线/仍然可以使用 smack 吗?
How can I tell that a [email protected]/balkony (full JID!) is online/still available with smack?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
订阅
[电子邮件受保护]
的状态,通过发送您自己的状态来上网,并查看您是否收到返回的状态节。查询是否存在实际上没有多大意义;将其视为在某个时间点步入朱丽叶存在的流动。Subscribe to
[email protected]
's presence, go online by sending your own presence in, and see if you get a presence stanza back. Querying for presence doesn't actually make much sense; think of it as stepping into the flow of juliet's presence at a certain point in time.