服务名称,在这儿是ch2原子。它对其它客户函数的使用来说是不可见的。这意味着名称的修改将不会影响到其它客户函数。
The name of the server, in this example the atom ch2, is hidden from the users of the client functions. This means the name can be changed without affecting them.
也可以在客户端设置中使用这个函数,以便限制应当供出去的连接所使用的接口。
You can also use this function from a client setting to restrict the interface that should be used for an outgoing connection.
在这种方法中,您将把服务器端代码添加到所有客户端验证函数中,以检查条件并显示消息。
This way you add server-side code to all client-side validation functions in order to check conditions and to show messages.
将上述函数的结果返回至客户端,并在服务器上记录该信息。
Returns the result of the above function call to the client and logs the information on the server.
客户端代码将该消息传递给包装器函数。
The client code hands this message up to the wrapper function.
您必须当心将数据保存在客户端会将函数暴露给能够获得数据的黑客。
You must be careful about storing data on the client side and exposing the functions to a hacker who can get the data.
在客户机上,只要有一个函数能够处理服务器发出的询问,客户机应用程序就是与平台无关的。
At the client, as long as there is a function to handle the challenges thrown by the server, the client application is platform independent.
当服务器从客户端收到请求后,服务器执行本地函数,并将该函数的返回值返回给客户端。
When the server receives the request from the client, the server executes the local function and returns the return value for the function to the client.
要让函数可从客户端调用,必须定义代理。
To have the functions callable from the client side, a proxy must be defined.
由于DB 2Connect服务器实际上建立在DB 2UDB数据库服务器基础之上,因此它也允许客户创建他们自己的函数。
Since a DB2 Connect server is really built on the DB2 UDB database server infrastructure, it too allows customers to create their own functions.
作为回显服务,此函数把“yousaid…”写回客户端。
As an echo service, the function writes "you said..." back to the client.
第一行指定结果集中将包括客户姓名和XMLQuery函数的输出。
The first line specifies that customer names and output from the XMLQuery function will be included in the result set.
清单5:client . c;使用库中printstring函数的样本客户。
Listing 5: Client.c; a sample client that USES the function printstring from the library.
在第一次调用这些函数中的某个函数时,pseudo客户机库会填充一个包含函数指针的表,这些函数指针指向函数“真正的”(libc)实现。
On the first call into any of these functions, the pseudo client library populates a table of function Pointers that then point to the "real" (libc) implementations of these functions.
这些函数遍历客户机对象列表,为每个客户机调用相应的事件处理器。
These functions iterate the client list, calling the appropriate event handler for each client. In code, it looks like this.
添加一个函数来设置客户和客户服务代表的共同浏览会话中的collabform .html页面的索赔创建表单元素的值。
Add a function to set the value of the elements for the claim creation form on the collabform.html page in both the customer and customer service rep's co-browsing session.
有时它们提供相同或非常类似的数据和函数,尽管客户端的种类不同。
Sometimes they provide the same or very similar data and functions, albeit to different kinds of clients.
它使所需的代码量最小化,因为它有许多内置功能,这样您就不再需要为这些功能编写客户端函数或对象了。
It minimizes the code you need to write, because it has many built-in features that you would otherwise need to write custom functions or objects for.
对于CLI也一样,您可以使用清单2所示的函数来设置客户端信息。
Similarly for cli, you can use the functions shown in Listing 2 to set client information.
每个客户端都在本地连接,但被分配一个全局惟一的ID,以便在中间件的函数调用中客户端间可以相互引用。
Each client connects locally, but is allocated a globally unique id so that the clients may refer to each other in function calls to the middleware.
同样,实例化泛型类的客户机类必须使用满足对构造函数存在所声明的约束的类来这样做。
Also, client classes that instantiate our generic class must do so with classes that meet the declared constraint on what constructors exist.
清单3中的函数提供了可由在客户机和服务器端上执行的其他函数访问的一般函数。
The functions in Listing 3 provide general functions accessible by other functions executed on both the client and server side.
在转换返回值之后,客户端存根最终返回到客户端函数。
After possibly converting the return values, the client stub finally returns to the client function.
为调用一个远程函数,客户程序要调用客户机存根。
To invoke a remote function, the client makes a call to the client stub.
服务器端方法的实际函数或代码绝不公开给客户端。
The server side methods' actual function or code is never exposed to the client side.
第一个是头文件,它声明库导出的所有函数,而且代码中的客户机包括这些函数。
The first is a header file, which declares all the functions exported by the library and will be included by the client in the code.
而客户端事件则是一个当服务器向客户端发送数据时调用的回调函数。
The client event is a callback method that is invoked when the server has sent bytes to the client.
您可以选择使用一个WSDL文件告诉客户端关于可用函数的信息,以及输入参数和返回值的个数和数据类型。
You can use an optional WSDL file to give clients information on the available methods, as well as the number and data types of input arguments and return values.
例如,服务器事件是一个回调函数,它是在新的客户端连接服务器时调用的。
For example, the server event is a callback method that is invoked when a new client connects to the server.
服务器会通过bio库的各种读写函数真正与客户机进行通信。
The server would actually talk with the client through the various read and write functions available to the BIO library.
应用推荐