超时黑莓HttpConnection [英] Timeout for Blackberry HttpConnection

查看:123
本文介绍了超时黑莓HttpConnection的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Blackberry 4.5项目中,我通过Connector.open创建HttpConnection。如果我通过MDS连接,我可以指定ConnectionTimeout在额外的参数到我的URL。如果使用直接TCP连接或TCP over WiFi,如何指定超时?

In my project for Blackberry 4.5, I create HttpConnection via Connector.open. If I connect over MDS, I can specify ConnectionTimeout in additional params to my URL. How can I specify timeouts if using direct TCP connection or TCP over WiFi?

推荐答案

根据此知识库文章,无法指定连接超时除MDS以外的运输价值。

According to this KB article, it's not possible to specify a connection timeout value for transports other than MDS.

这篇关于超时黑莓HttpConnection的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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