Listing 6 illustrates how to make an asynchronous call.
清单6展示了如何实现异步调用。
Some of these commands result in asynchronous call backs.
这些命令导致异步回调。
Notify the user if an error occurred during the asynchronous call.
如果在异步调用过程中出现错误,则通知用户。
An asynchronous call to the server is made to perform the server validation.
对服务器进行异步调用以执行服务器验证。
Using events - a signal is set as soon as the asynchronous call is finished.
l利用事件——当异步调用完成时设定的信号。
To make the actual asynchronous call, the functions WSASend, WSARecv are called.
通过调用WSASend,WSARecv函数,进行实际的异步调用。
Using events - a signal is set as soon as the asynchronous call is finished.
利用事件-信号是尽快将异步调用完成。
The asynchronous call to the server will be triggered when the validate method is called.
当验证方法被调用时,对服务器的异步调用将被触发。
This relieves you of manually handling exceptions that occur during an asynchronous call.
这能让您不用再手工处理异步调用过程中发生的异常。
It makes an asynchronous call to the data that we exposed RESTfully in the previous step.
它对上一步中以REST形式显示的数据进行了异步调用。
The return value of an asynchronous call can be recovered by calling the EndInvoke method.
异步调用的返回值可以通过EndInvoke方法回收。
When it receives focus, an asynchronous call is made to retrieve the values from the server.
在获得焦点时,则发出异步调用,从服务器检索值。
This exception is thrown when the client tries to get the response from an asynchronous call.
当客户端尝试从异步调用获得响应时,将会引发此异常。
This is an asynchronous call, so once the message is given to WebSphere MQ, the call returns.
这是一个异步调用,因此,一旦将该消息给WebSphereMQ,该调用就会返回。
Furthermore, there is quite a bit of boilerplate code involved in setting up an asynchronous call.
此外,在建立异步调用时还包括不少样板代码。
Listing 10 shows a code snippet that makes an asynchronous call to the web service defined in Listing 1.
清单10显示了异步调用清单1中定义的Web服务的代码片段。
The point to make here is that the invocation of your service as described above is an asynchronous call.
这里要强调的是上面描述的对您的Web服务的调用是一个异步调用。
You can use this deferred object for defining a callback method when the asynchronous call returns a response.
我们可以使用这个deferred对象来定义一个在异步调用返回响应时执行的回调函数。
Pretty much any kind of external service is going to require an asynchronous call that returns on the UI thread.
几乎任何类型的外部服务都需要一个返回UI线程的异步调用。
Advanced features include multiple shakes at the same time and asynchronous call backs. Full source code is included.
高级功能包括同时的多重抖动和非同步回弹,包含程序源代码。
For example, you can make the call asynchronous, you can change the transaction context, or make asynchronous calls more reliable.
例如,您可以使调用异步化、可以更改事务上下文,或者使异步调用更加可靠。
Asynchronous call back - client issues a request and the target will call a service implemented by the client with the response.
异步回调——客户机发出请求,目标将调用使用响应调用客户机实现的服务。
The method returns an IAsyncResult, which can be used to monitor completion, wait on the WaitHandle, or complete the asynchronous call.
这个方法返回一个IAsyncResult,它可以被用在监测完成,也可以等待在WaitHandel,或者完成异步调用。
Instead, the browser will have an asynchronous call to the server to obtain the data and refresh only specific parts of the current page.
相反,浏览器将具有一个对服务器的异步调用以获得数据,并且只刷新当前页面的特定部分。
The get function simply builds up the URL that you typed into the browser earlier, and then makes the asynchronous call back to the server.
get函数构建您在之前输入浏览器的URL,然后对服务器执行异步调用。
When a user tabs out of the field and the Zip Code field loses focus, an asynchronous call is made to the server to retrieve the location data.
当用户用tab键移出此字段且ZipCode字段失去焦点时,就会向服务器发出异步调用以检索位置数据。
Even if it's possible to make an asynchronous servlet, it's almost useless without the ability to make an asynchronous call to local and remote resources.
如果不能对本地和远程资源进行异步调用,即使能够实现异步servlet也毫无用处。
If the user has entered the minimum number of characters (default: 3), then the asynchronous call should be made to the server to populate the suggestion list.
如果用户输入了最小字符数(默认值:3),则应向服务器发出异步调用,填充建议列表。
If this takes several seconds, which is not uncommon for an asynchronous call, the anonymous class may be inadvertently promoted to the more expensive generation 1 or 2.
如果此过程耗时数秒,这对于异步调用而言是很常见的,而该匿名类可能在不经意间被晋升为垃圾回收器中更昂贵的1代或2代对象[3]。
This does not mean that there won't be occasions when you want to use an asynchronous call; you can, and the capabilities to make those types of calls are certainly available.
这并不表示您不能使用异步调用;您当然可以生成那种类型的调用。
应用推荐