具有验证实现的客户端回调示例。
服务器采用 LayoutRecall从客户端回调布局。
The server recalls the layout from a client using LayoutRecall.
因此,在需要的基础上,我们决定去与客户端回调功能。
So, based on the needs, we decided to go with the Client Callback feature.
获取一个对客户端函数的引用;调用该函数时,将启动一个对服务器事件的客户端回调。
Obtains a reference to a client function that, when invoked, initiates a client call back to a server event.
这是一个对某些物品下订单的服务的简单版本,其中服务是异步的,通过一个回调接口通知客户端进度信息。
This is a simple version of a service for placing an order for some widgets, where the service is asynchronous and the client is informed of progress via a callback interface.
例如,服务器事件是一个回调函数,它是在新的客户端连接服务器时调用的。
For example, the server event is a callback method that is invoked when a new client connects to the server.
每当对应的客户端套接字包含读、写或错误操作时,调用对应的回调函数。
Each time a corresponding client socket contains any read, write or error operations, the corresponding callback function is called.
该接口注册了一种回调方法,当订阅到达订阅客户端时,就会调用该方法。
This interface registers a callback method that is called when a publication arrives at the subscribing client.
要接收通知,高级回调接口的实现必须要用MQTT客户端注册。
To receive notifications, an implementation of the advanced callback interface must be registered with the MQTT client.
客户端代码和服务代码看起来就像使用了某些魔法,通过来自SCA运行时注入得到了服务和传入的回调的引用。
The code for the client and for the service looks like it USES some piece of magic, with the references for the service and for the callback arriving through injection from the SCA runtime.
客户端调用一个服务(提供一个回调引用),然后继续后续处理。
A client invokes a service (providing a callback reference), then continues further processing.
回到客户端时,现在调用注册在XMLHttpRequest上的回调函数,处理服务器返回的XML文档。
Back on the client side, the callback function registered on the XMLHttpRequest is now invoked to process the XML document returned by the server.
请求操作的入站消息可能包含一个“webhook”域,如果客户端期待回调,该域的值是一个URI;
The inbound representation of the operation request MAY contain a "webhook" field, whose value is a URI where the client expects a callback.
注意,应将客户端操作和回调操作分别安排在不同的接口上。
Notice that the client operations and the callback operation should be put in separate interfaces.
而客户端事件则是一个当服务器向客户端发送数据时调用的回调函数。
The client event is a callback method that is invoked when the server has sent bytes to the client.
MqttPersistence实现所提供的客户端持久性与 QoS1或2 的结合使用实现了为确保消息传递而使用的回调冗余。
The use of client-side persistence provided by an MqttPersistence implementation, coupled with use of QoS 1 or 2, renders the use of this callback redundant for the insurance of message delivery.
假定数据库管理器是在一个远程的服务器上,那么让这个方法异步并且允许客户端提供一个回调方法将是非常好的设计。
Assuming that the database manager is on a remote server, it might be a good design decision to make the method asynchronous and allow the client to provide a callback method.
协议是双向的,所以服务器可以在篮球比分客户端先前建立的连接上进行回调。
The protocol is bidirectional, so a server can make a callback over a connection that was previously established by a client.
服务提供者可以使用定义在回调接口中的任何操作,在对来自客户端单个请求的响应中,提供者可能调用回调接口中一个或多个或零个的操作。
The service provider may use any of the operations defined in the callback interface and in response to a single request from the client, the provider
这非常低效,但幸运的是,有一种更好的方式?我们可以为每个客户端只创建一个回调队列。
That's pretty inefficient, but fortunately there is a better way - let's create a single callback queue per client.
所有服务端和客户端实现必须支持“长轮询”连接类型,并且应该支持“回调轮询”。其他连接类型都是可选的。
All server and client implementations MUST support the "long-polling" connection type and SHOULD support "callback-polling". All other connection types are OPTIONAL.
如果预计一个回调函数,客户端必须注册一个通道和一个港口。
If it expects a callback function, the client must register a channel and a port.
提出一种基于客户-代理-服务器的卷回调算法来解决传统回调算法所面临的两个主要问题:可扩充性和客户端断连。
In this paper, client-proxy-server based volume callback algorithms are introduced to address two key issues that face the traditional algorithms: scalability and client disconnection.
在客户端服务器,发布安全策略授权给客户端应用程序,使其有权回调服务器端程序并且能够潜在的显示用户界面。
On client machine, deploy a security policy which grants client application only the permissions to call back the server and to potentially display user interface.
函数允许客户端应用定义一个独有的指针,供服务器在数据更新回调时使用。
SetUpdateHandle allows the client application to specify a unique handle to be used by the server during Data Update Callbacks.
函数允许客户端应用定义一个独有的指针,供服务器在数据更新回调时使用。
SetUpdateHandle allows the client application to specify a unique handle to be used by the server during Data Update Callbacks.
应用推荐