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.
但因为使用了其他传输连接来获得响应,因此需要将请求和响应关联起来。
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会处理在同一个传输连接中发送的确认信息,但不支持在同一个传输连接中发送的应用程序响应。
应用推荐