要实现此目的,可以向之前所创建的类中添加离线服务帮助器的一个实例和一个初始化方法,如清单2所示。
To do this, add an instance of the offline service helper and an initialization method to the class you created previously as shown in listing 2.
在此场景中,远程客户端机器上的一个程序向编校服务器发送了一个编校请求,如图2所示。
In this scenario, a program on a remote client machine sends a redaction request to the redaction server, as shown in Figure 2.
如图3所示的绿色线性扩展线,每当向解决方案添加一个处理器时,您会多得到X的吞吐量。
As the green linear scaling line in Figure 3 shows, each time you add a processor to your solution, you get X more throughput.
在测试程序中,我们增加了一个鼠标滚轮侦听器,它让背景色按照某一方向在颜色数组中循环,如清单4所示。
In the test program, we'll attach a wheel listener that has the background color loop through the array of colors based upon the direction, as shown in Listing 4.
多模式应用的构架类似于普通网页系统的构架,浏览器向服务器提交请求,服务器返回页面,如图1所示。
The architecture of multimodal applications is similar to Web applications, where the browser sends a request to the server, and the server responds with pages (see Figure 1).
如图1所示,外部客户机向单个ip地址发送通信量,而该IP地址可能存在于某个LVS控制器机器上。
As shown in Figure 1, the external clients send traffic to a single IP address, which may exist on any of the LVS director machines.
根据当前生效的白名单,因策略违规而导致错误时,代理会向浏览器发送一个自定义的JSON错误对象,如清单1所示。
When there is an error due to policy violations based on the current white list in effect, the proxy sends a custom JSON error object back to the browser. See listing 1.
当Web服务器向浏览器发送文档时,它会给文档加上一个响应报头作为前缀,如清单1所示。
When a Web server sends a document to a browser, it prefixes the document with a response header like the one shown in Listing 1.
服务器可以向特定地址和端口发送数据报,供客户端接收,如清单5所示。
The server can then send a datagram to the address and port for the client to receive, as shown in Listing 5.
Web开发社区的人都知道,Ajax允许向服务器发出异步的辅助请求,并直接在网页中显示结果(如图4所示)。
Ajax, as the Web development community well knows, allows you to make asynchronous auxiliary requests to the server and display the resulting output directly on the Web page (see Figure 4).
向adminservice添加一个假设性方法,仅允许admin角色中的用户重启服务器,如清单15所示。
Add a hypothetical method to AdminService that only allows users in the admin role to restart the server, as shown in Listing 15.
下一个任务是回到XCodeIDE,向视图控制器类定义添加一些成员变量、属性和方法,如清单5所示。
The next task is to go back to the XCode IDE and add some member variables, properties, and methods to the view controller class definition as in Listing 5.
如图1所示,biod守护进程向服务器发送请求。
As shown in Figure 1, the biod daemon sends the requests to the server.
在Web服务中完成此任务的传统方法是:向uddi服务器提交一个查询,分析结果,选择提供者,然后调用服务,如图6所示。
The traditional approach for accomplishing this in Web services has been to submit a query to a UDDI server, parse the results, select a provider, and invoke the service, as shown in Figure 6.
如图5所示,WebSphereMQEveryplace可以为向服务器发送客户机数据提供除web服务或RESTAPI之外的另一种选择。
As shown in figure 5, WebSphere MQ Everyplace can provide an alternative to Web services or REST APIs for sending client updates to the server.
为此,向Student控制器添加一个create函数,如清单7所示。
To do so, add a create function to the Student controller, shown in Listing 7.
为此,向Student控制器添加一个create函数,如清单7所示。
To do so, add a create function to the Student controller, shown in Listing 7.
应用推荐