这样,即使不轮询,客户机也始终处于等待模拟异步通知的Web服务响应的状态。
In this way, even without polling, the client is always in a state waiting for a response from the Web service, which simulates an asynchronous notification.
系统接口随后将到中介的连接保持为打开状态,并将请求以同步方式传递给目标系统,然后在相同连接上等待响应。
The System Interface then keeps the connection to the Mediator open and passes the request on synchronously to the destination System and waits for the response on the same connection.
这是因为大多数套接字操作都是异步地进行的,其中套接字进行轮询以检查数据是否出现,而不是使得应用程序处于阻塞(等待)状态以等待响应。
This is because most socket operations are made asynchronously in that the socket is polled to see if data is present rather than having the application block (wait) for the response.
应用推荐