The simplest way to create a Selector is to use the open method, as shown below.
创建Selector最简单的办法是使用open方法,如下所示。
You might notice that when you send the request, using the open method, you specify three parameters.
您可能已经注意到了,在用open方法发送这个请求时,指定了三个参数。
You also tell the open method that you want to perform the operation asynchronously, as shown in Listing 4.
还告诉open方法我们希望异步地执行操作,见清单4。
The open method is called by the Batch Container to indicate that the BDS is about to be used and to prepare the BDS for operation.
批处理容器调用open方法来指示将要使用BDS和为进行操作而对BDS做准备。
The Open() method opens the connection to the database and throws an IfxException if the connection fails.
Open()方法打开了到数据库的连接,如果连接失败,则抛出一个IfxException。
Then, submitFormData() initializes the xhr object, using its open() method (see Listing 6)
之后,submitFormData() 通过open()方法初始化xhr对象(见清单6)。
The open() method can take additional options to specify how the file is opened.
open()方法可利用附加选项来指定如何打开该文件。
The open() method can take additional options to specify how the file is opened.
open()方法可利用附加选项来指定如何打开该文件。
应用推荐