In addition, each takes a callback that handles the returned data from the request.
另外,每个方法都接受一个处理从请求返回的数据的回调。
You can pass an optional data object and callback function if you need them.
如果需要的话,您还可以传递一个可选的数据对象和回调函数。
This function also has a callback; thus, for each iteration, some logic is applied to the data collected.
这个函数也有一个回调;因此,对于每次遍历,都会有一些逻辑应用于收集的数据。
It allows the client data to be associated with the callback class at run time.
它允许在运行时把客户机数据与回调类关联起来。
Within the callback function, the returned data can be processed.
在该回调函数内,可能处理返回的数据。
It takes the file path to the file being requested, the serialized form data, and finally a callback function.
它将文件路径指向被请求的文件、序列化数据、最后是一个回调函数。
This can include invalidating sessions, canceling timers, canceling callback handlers or cleaning up any data structures that may need it.
清理可能包括终止会话、取消计时器、取消回调处理程序或清理可能需要的任何数据结构。
Lower-bounded wildcards show up when you want to specify a callback object, such as a comparator, or a data structure into which you are going to place a value.
当您希望指定一个回调对象(例如一个比较器)或存放某个值的数据结构,可以使用下限通配符。
Moreover, you can also specify a callback function if you request JSON data from the service.
此外,如果您向服务请求JSON数据,还可指定回调函数。
Using a callback function means I don't need to know when the server is finished loading the JSON data.
利用回调函数完全不需要知道服务器什么时候完成JSON数据的加载。
This provides a callback mechanism to surround generated data access code with specialized processing.
这提供了一种回调机制,以便将生成的数据访问代码与特殊的处理关联起来。
This property ensures that a server has completed a request and typically, a callback function USES the data from the server to update a Web form or page.
这个属性确保服务器已经完成了一个请求,通常会使用一个回调函数从服务器中读出数据来更新Web表单或页面的内容。
Util — Utility classes for such tasks as string manipulation, cookie management, data manipulation, deferred action support, and callback support.
ut il—字符串操作、cookie管理、数据操作、延迟动作支持和回调支持等任务的实用程序类。
Note that displayCart() is a callback function invoked with the Cart response data from the server.
请注意displayCart()是一个回调函数,由服务器返回的Cart响应数据调用。
It is a simple implementation of the Eclipse API, providing callback to retrieve data.
它是EclipseAPI的简单实现,提供了用于检索数据的回调。
EGL handler part - a handler part provides data and callback functions for UI constructs such as Web pages or printers.
EGLhandlerpart—一个处理程序部分提供了针对UI结构(比如web页面或打印机)的数据和回调函数。
The abstract base class has a member TreeItem that will be an instance of the TreeItem widget in GWT and will be the client data with which the callback is associated when the callback class is used.
抽象基类有一个成员TreeItem,它是GWT中TreeIte m部件的实例,包含客户机数据,在使用回调类时回调与这些数据相关联。
In many Ajax applications, you'll see a callback function that checks for a ready state and then goes on to work with the data from the server response, as in Listing 6.
在很多Ajax应用程序中,您将看到一个回调函数,它负责检查就绪状态,然后继续利用从服务器响应中返回的数据,如清单6所示。
The callback class will process the data returned from the server.
回调类处理服务器返回的数据。
It then associates the TreeItem widget and event type with the callback instance so that it knows how to proceed after the data for the RESTful Web service is returned.
然后,把TreeIte m部件和事件类型与这个回调实例关联起来,让它知道在RESTfulWeb服务返回数据之后如何处理数据。
To pass this data back, the postMessage function is called, which will invoke the onmessage callback function on the worker, as shown back in Listing 9.
为了将此数据传递回去,调用了 postMessage函数,由该函数在这个worker上调用onmessage回调函数,如清单 9中所示。
Construct a callback that runs and does whatever your program needs to do with the server data.
构造一个回调,此回调可以运行和执行程序想要对服务器数据进行的任何操作。
If the callback is being used to request a password for encrypting data, it is preferable to ask for the password twice, in some fashion, to catch any typos.
如果正在使用回调函数来请求对数据进行加密使用的密码,最好是以某种方式请求两次,这样可以多一次机会接收用户的输入。
Then, your callback function can use that data, as seen in Listing 1 and Listing 4.
然后回调函数就可以使用这些数据,如清单1和 清单 4 所示。
The event API model USES a callback mechanism to notify the application of the structure of the XML data.
事件API模型使用回调机制向应用程序通报XML数据的结构。
You can use the data argument whenever you need to pass additional information to your callback.
每当需要向回调传递额外的信息时,都可以使用data参数。
The data pointer will now contain the pointer to that label each time the callback is called.
现在每次调用回调时,data指针都会包含到那个标签的指针。
See Using Notify for more data on using callback functions.
看使用通知得到使用回调函数的更多数据。
We illustrate how to use EPON Network Element Management System Communication Interface to call for business and how to use the callback function to transmit alarm data.
文章举例说明了EPON网管中如何使用通信接口进行业务调用以及如何运用通信接口中的回调功能进行告警数据的传输。
Typically, you implement the callback by creating a handler in a business object that manages the cache data.
一般来说,您会借由在管理快取资料的商务物件中,建立处理常式以实作回呼。
应用推荐