请参见清单9,了解将在每个分区上运行的reduce代理代码(图3)。
See Listing 9 for the reduce agent code you are going to run on each partition (Figure 3). The logic is very intuitive.
表示一个类,该类可从数据结构的XML表示形式生成代理代码。
Represents a class that can generate proxy code from an XML representation of a data structure.
这些代码代表了需要用来访问部署在适配器内的任意web服务的代理代码。
This code represents the proxy code needed to access any Web service deployed within the adapter.
这种代理代码非常灵活,因为如果应用得当,它可以从HTTP头确定实际的目的地。
This proxy code is very flexible because, if used correctly, it can determine the actual destination from the HTTP headers.
现在您已经生成了桥的代理代码,就可以用eclipse中标准的build菜单创建桥了。
Now that you've generated the bridge proxy code, you can build the bridge with the standard build menu in Eclipse.
c是与afsfuse_server代码进行链接的服务器存根代码(代理代码)。
Afsfuse.ss.c is the server stub code (proxy code) to be linked with your afsfuse_server code.
通过此句柄,您可以获取AgentManager,它提供了请求网格执行您的代理代码的方法。
From this, you can get an AgentManager, which provides the methods for asking the grid to execute your agent code.
您也许会发现,检查代理代码以确定它如何完成其数据库访问任务会很有用,不过这超出了本文的范围。
You may find it useful to look at the agent code to see how it does its database access task, but that goes beyond the scope of this article.
从Stubby文档的samplecode附签上,复制所生成的示例代理代码,然后粘贴到代理中。
From the sample code TAB on the Stubby document, copy the example agent code that was generated and paste it into the agent.
在创建类之后,就可以输入剩余的代理代码,从而使其看起来与DominoDesigner示例中的代理一样。
After you create the class, you can enter the rest of the agent code so that it looks like the agent from the Domino Designer example.
是否想要生成Web服务的客户端代理代码,如果您将编写一个客户端应用程序来使用Web服务,那么它会是很有用的。
Whether you want to generate client proxy code for the Web service, which is useful if you are going to write a client application to use your Web service.
在本系列接下来的文章中,我们将考察会影响应用程序性能的代理和代码。
In the next article in this series, we look at agents and code that can influence application performance.
我们研究每个代理的代码片段,解释每个片段所做的工作。
We examine code snippets for each agent, explaining what each snippet is doing.
使用代理不需要对代码进行修改。
第三和第四行运行简单代理,就像前面的代码示例中做的那样。
The third and fourth lines run the simple proxy as I did in the previous code example.
HTML生成的代码为这些函数提供代理方法,这些方法调用服务器端的远程方法。
The HTML-generated code provides proxy methods for these functions, and these methods call the remote methods on the server side.
若要部署两个代理,则需要修改模式和代码。
To deploy two agents the schema and code require modification.
在启动后,安全代理内部的随需应变配置代码将读取静态路由文件并构建内存路由数据。
At startup, the on demand configuration code inside the secure proxy reads the static route file and builds the in-memory routing data.
代理的字节代码一变更,旧的用户签名就变成无效的了。
As soon as the byte codes of the agent change, the old user signature becomes invalid.
编程式的代理创建在编写基础结构代码和测试时比较有用,但在通常的业务应用中并不经常使用。
Programmatic proxy creation is useful when writing infrastructure code and tests, but is not often used in regular business applications.
您需要为代理提供代码,作为您愿意异步执行的业务逻辑。
You provide the code for the agent, which is business logic that you would like executed asynchronously.
代理:实际执行在原处计算的代码。
Agents: the code that actually performs the in situ computation.
例如,打印机可以定位代理主机并传递代码以便为该打印机注册打印服务。
A printer, for instance, could locate a surrogate host and deliver code in order to register a printing service on behalf of the printer.
生成用于服务的基于EJB的部署代码,包括充当旧程序代理的代码。
Generate EJB-based deployed code for the service, including code that ACTS as a proxy for the legacy program.
在 Program.cs 中添加以下代码,创建代理对象(上面示例中的 mywcf)
Update the following code in Program.cs for the creation of the proxy object (mywcf in the example above)
正如下面的示例代码中所显示的,Sametime代理applet提供了一种使用JSObjectAPI的方法。
As shown in the following code sample, the Sametime agent applet provides a method for using the JSObject API.
开始的示例引用一个扫描RSSfeed 的代理,因此清单4中的代码延续了这个思路。
The initial example referred to an agent scanning an RSS feed, so the code in Listing 4 follows up on that idea.
这使得向导能够生成调用Web服务所需的代理和样本代码。
This enables the wizard to generate the proxy and sample code required to invoke the Web service.
进行此操作前,先阅读下面部分,以了解代理和Python代码是如何工作的。
Before you do this, read the following sections to understand how the agent and Python code work.
进行此操作前,先阅读下面部分,以了解代理和Python代码是如何工作的。
Before you do this, read the following sections to understand how the agent and Python code work.
应用推荐