This is because the transport connection might timeout before the response is available.
原因是在响应可用之前,传输连接可能会超时。
It USES a single transport connection for sending and receiving the response, as shown in Listing 4 below.
它使用一个传输连接同时发送和接收响应,如下面的清单4所示。
After the transport connection has been established, the Bluetooth client needs to issue the connect operation.
在传输连接已经建立之后,蓝牙客户机需要发出CONNECT操作。
operation tells if a separate transport connection is to be used for sending the request and receiving the response.
setTransportInfo()操作的 Boolean 参数指出是否要使用不同的传输连接来分别发送请求和接收响应。
But since a different transport connection is used to retrieve the response, the request and response need to be correlated.
但因为使用了其他传输连接来获得响应,因此需要将请求和响应关联起来。
The transport connection has been reset.
已复位传输连接。
The transport connection was aborted by the local system.
本地系统已终止传输连接。
An operation was attempted on a nonexistent transport connection.
已尝试在不存在的传输连接上进行操作。
The transport connection attempt was refused by the remote system.
远程系统拒绝传输连接。
An invalid operation was attempted on an active transport connection.
试图在活动传输连接上运行无效的操作。
Since both of the above approaches use a single transport connection to send and receive messages, they are not suitable for long-running transactions.
因为上面两个方法使用一个传输连接来发送和接收消息,所以这些方法不适合长时间运行的事务。
And if the Web Service client needs to have non-blocking (still with single transport connection), then the client should use AsyncCall instead of Call.
如果Web服务客户机需要非阻塞调用(仍然使用单个传输连接),则Client应该使用AsyncCall,而非Call。
Although Sandesha handles acknowledgements sent in the same transport connection, it does not support application responses sent in the same transport connection.
尽管sandesha会处理在同一个传输连接中发送的确认信息,但不支持在同一个传输连接中发送的应用程序响应。
Although Sandesha handles acknowledgements sent in the same transport connection, it does not support application responses sent in the same transport connection.
尽管sandesha会处理在同一个传输连接中发送的确认信息,但不支持在同一个传输连接中发送的应用程序响应。
应用推荐