Message flow from client to server and back
客户机与服务器之间的消息流
Like we saw with the client, the impact to the server should be minimal.
正如在分析客户机时所看到的,对服务器的影响应该最小。
This requires easy access to client and server side implementations of the protocol.
这就要求能方便地访问协议的客户机和服务器端的实现。
Note that you are deploying the client to the same server.
请注意,我们此处将客户机部署到同一个服务器上。
In addition, a server can act as a client to another server and so on.
此外,一台服务器还可以作为其他服务器的客户机,依此类推。
Response: the message back from the server to the client.
响应:从服务器发回客户端的消息。
What happens to the client session data in case the original server crashes?
如果原始服务器坏掉,对这个客户会话数据将会有什么样影响?
The application server or application client USES the XU to connect to the rule engine.
应用服务器或应用程序客户机使用XU连接规则引擎。
Use a separate client to run the server statistics collection script (more on this later).
使用一个单独的客户机运行服务器统计数据收集脚本(后面详细讨论)。
Launch an app on X Client to display on X server.
在X客户机上启动应用程序以在X服务器上显示。
Client communicate to server with session key.
客户端使用会话密钥与服务器通信。
Actual contact of client to the server.
客户端与服务器的实际通信。
To timeout a client, run the following command from the server machine
可以在服务器计算机上运行以下命令设置客户机超时
The client will then immediately send another request to the server.
客户端然后立刻发送另一个请求到服务器。
And how will you move the content from the client to the server?
您又要如何将内容从客户端传递到服务器?
Request: a message from a client to the server.
请求:从客户端发送到服务器的消息。
Write function that might be useful to both your client and server processes.
编写对于您的客户端、服务器处理都有用的功能。
The server will read the file and send its contents to the client.
服务器将读取该文件并将其内容发送到客户机。
Later in this article, you define which methods the client can send to the server.
在本文稍后部分,您将定义客户机可向服务器发送的方法。
From this point on the client will not send any data to the server anymore.
从此刻起,客户机将不再向服务器发送任何数据。
In our server, the client is required to provide the XSL file name.
在我们的服务器中,需要客户机来提供XSL文件名。
Again, the encryption key needs to match between the client and server.
同样,客户机与服务器之间的加密密钥必须匹配。
The server sends a similar message to the client.
服务器也会向客户机发送一个类似的消息。
We won't use a client to drive this server.
我们不打算使用客户端来驱动此服务器。
When the data is ready on the server, it is sent to the client.
当服务器上的数据就绪时,该数据被发送到客户机。
REST never directly refers to any specific communication protocol between client and server.
REST从不直接在客户端和服务器之间引用任何具体的通信协议。
The client has indeed been authenticated to the server, and vice versa.
客户端已确实向服务器进行了身份验证,反之亦然。
First of all, how does the client know where to find the server?
首先,客户机如何知道到哪里寻找服务器?
Now you just need to handle the response from the server on your client.
剩下的就是处理服务器反馈给客户机的响应了。
In the client, before transmitting the request to the server.
客户端,请求发送给服务器之前。
应用推荐