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

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

问题描述

在我的项目为黑莓4.5,我通过Connector.open创建的HttpConnection。如果我进行连接MDS,我可以额外PARAMS我的URL指定ConnectionTimeout。我怎样才能使用,如果通过WiFi直接TCP连接或TCP超时指定?

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?

推荐答案

据<一个href=\"http://supportforums.blackberry.com/t5/tkb/articleprintpage/tkb-id/java_dev@tkb/article-id/298\"相对=nofollow>此知识库文章,这是不可能指定比其他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天全站免登陆