此模式将文件划分为记录,并使用每个记录进行一次服务调用,或将消息传递到具有事务接口的一个或多个系统。
This pattern breaks a file down into records and USES each record to make a service call, or pass a message to one or more systems with a transactional interface.
我已修改了JSP文件,并创建了两个新类:一个类用来包含表单数据,一个类用来调用业务包。
I have modified the JSP file and created two new classes: one to contain form data and one to call the business package.
调用者需要等到方法构建好数组并返回后才能继续执行下面的代码,而一旦目录中含有大量文件时这么做的效率就很低下了。
The caller needs to wait until the method builds the entire array and returns. That induces a performance penalty when the directory happens to contain lots of files.
您的客户机搜索该注册中心以查找合适的服务,然后查找它的详细信息(它的WSDL文件)并调用该服务。
Your client searches the registry for the appropriate service, finds its details (its WSDL file), and invokes the service.
是用于创建一个inotify实例的系统调用,并返回一个指向该实例的文件描述符。
Is the system call that creates an inotify instance and returns a file descriptor referring to the instance.
函数随后获取当前文件(getline(1,'$'))中的每一行并调用内置的writefile() 函数来将它们写入到磁盘中。
The function then grabs every line in the current file (getline(1,'$')) and calls the built-in writefile() function to write them to disk.
在上述代码内,先是获得文件的文本内容并通过调用SimpleXMLElement函数将其加载到一个XML对象。
In this code, you get the text contents of the file and load it into an XML object with a call to the SimpleXMLElement function.
如果调用另一个Web服务,可以手动读取并解释WSDL文件(可能很麻烦),也可以使用类似soapui或eclipseWTP的工具来解释所有事情。
If you call another Web service, you can either read and interpret the WSDL file manually (which can be painful) or use a tool like soapUI or the Eclipse WTP to translate everything for you.
这个函数调用feedparser. parse函数,传递测试用的RSS文件,输出解析结果,并通过testcase类的assert函数执行基本的检查统作。
This function calls the feedparser.parse function with the test RSS file, outputs the parsed results, and performs some basic checks via the TestCase class assert functions.
我们可以在YY _ INPUT宏中添加一个对GetNextChar函数的调用,后者从文件中读取数据,并保留了下一个要读取的字符的位置信息。
You can add a call in YY_INPUT to the function GetNextChar , which reads the data from a file and keeps information about the position of the next character to read.
如果调用成功,返回下一个未使用的文件描述符;否则,返回 -1 并相应地设置errno。
The next unused file descriptor is returned if the call is successful; otherwise, -1 is returned and errno is set accordingly.
它为目标xml检索url,并调用Ajax来加载文件。
It retrieves a URL for the target XML and makes an Ajax call to load the file.
现在当用 “compare”选项运行demoLogin 程序时,将载入该签名文件并调用 checkDynamics子例程。
Now when the demoLogin program is run with the "compare" option, the signature file will be loaded and the checkDynamics subroutine called.
然后我们进行循环,重新扫描SCSI总线(通过将命令回送到 /procpseudo-filesystem中的特殊文件,并调用devfsd ),直到出现根设备(我的例子中为 /dev/sda1)。
We then loop, rescanning the SCSI bus (by echoing a command to a special file in the /proc pseudo-filesystem and calling devfsd) until the root device (/dev/sda1 in my case) is present.
main方法现在显式地加载printhello . dll文件,并调用相同的print方法,如所示清单7中所示。
The main method now explicitly loads the printHello.dll file and invokes the print method for the same, as shown in Listing 7.
所有您要做的就是:包括那些声明您希望使用的调用的头文件并(在某些情况下)将您的代码与实现调用的库链接。
All you need to do is include the header files that declare the calls you want to use and (in some cases) link your code with the libraries that implement them.
而现在,人们可以在任何地方读取大文件并调用于协作内容之中。
But now, large files can be accessed from anywhere and can be used in a collaborative context.
平面文件适配器模块(图12)接收平面文件,并调用通用数据处理程序。
The flat file adapter module (Figure 12) receives the flat file and invokes the generic data handler.
数据处理程序解析文件,构造相应消息,并根据密码文件中存在的条目数量调用目标服务。
The data handler parsed the file, constructed a message and invoked the target service as many times as entries exist in the password file.
html(清单22)是一个简单的html文件,提供给用户一个GUI并询问他将要调用哪一个SOAP方法。
StartUp.html (Listing 22) is a simple HTML file that presents a GUI to the user and asks which SOAP method he or she wants to invoke.
这两个过程都以要检索的策略类型为输入,并返回包含策略信息的XML文档(作为blob返回到调用方或写入文件)。
Both procedures take the type of policy being retrieved as input and return an XML document (either returned as a BLOB to the caller or written to a file) containing the policy information.
当您从命令行调用DB - Access时,可以指定一个数据库作为当前数据库,并执行包含一个或多个sql语句的文件。
When you invoke DB-Access from the command line, you can specify a database as current and execute a file that contains one or more SQL statements. For example.
Mylyn项目允许用户自定义任务,并记录过程中哪些资源(文件或源代码等等)被程序调用。
It basically allows the user to define a task, and then remembers which resources (files, source code elements, etc.) are touched in the process.
假设用户选择了一个日志文件,代码跳回到一个新的NotesJob以更新书签的配置文件并运行调用者想要执行的代码。
Assuming the user selects a journal file, the code jumps back into a new NotesJob to update the bookmark's profile document and to run the code the caller wanted to execute.
因此,我们将RESTful服务的结果保存到测试文件内,并创建了一个抽象方法来获得给定REST调用的URL。
Therefore, we saved the RESTful service results into test files, and created an abstraction method to obtain the URL for a given REST call.
更好的办法是使用在预定义时间间隔调用php脚本的cron作业或调度任务,php脚本在被调用之后生成rss提要并保存到名为rss . xml的文件中。
A better solution might be to have a cron job or scheduled task that calls a PHP script at pre-defined intervals, which in turn generates the RSS feed and saves it to a file called rss.xml.
处理逻辑是这样的:如果存在一个列示相关ami的文件,您只需读取该文件并对每个id调用describe ('ami - id ')。
The processing logic is that if a file listing the relevant AMIs exists, you simply read that file and call describe (' ami-id ') for each id.
不要在实际站点中尝试使用这个脚本(“我将仅调用system并让错误进入到日志文件中”)。
Don't be tempted to use this script in the real site either (" I'll just call system and let the errors go to a log file ").
这个公式支持调用代理(位于公式文件或邮件文件中),并允许它进行页面输出。
This formula supports invoking an agent (located within the forms file or the mail file) and allowing it to contribute to the page output. This special formula has the following syntax.
这个公式支持调用代理(位于公式文件或邮件文件中),并允许它进行页面输出。
This formula supports invoking an agent (located within the forms file or the mail file) and allowing it to contribute to the page output. This special formula has the following syntax.
应用推荐