因此,在需要的基础上,我们决定去与客户端回调功能。
So, based on the needs, we decided to go with the Client Callback feature.
服务器采用 LayoutRecall从客户端回调布局。
The server recalls the layout from a client using LayoutRecall.
一名餐厅服务生会把每个参赛者的食物端走、然后倒上垃圾再端回给他们。
A waitress took each participant's food away from them, before bringing it back covered in trash.
取得用户端函式的参考,这个函式会在叫用时,启始对伺服器事件的用户端回呼。
Obtains a reference to a client function that, when invoked, initiates a client call back to server events.
黄英悲痛欲绝,在根茎上掐一小段,把它种在花盆里,端回自己房中,天天浇水。
Overwhelmed with grief, she pinched a section from the withered stalk, planted it in a flower pot which she put in her room, and watered it every day.
获取一个对客户端函数的引用;调用该函数时,将启动一个对服务器事件的客户端回调。
Obtains a reference to a client function that, when invoked, initiates a client call back to a server event.
中文意思就是说获取一个值,该值指示该页是否正为响应客户端回发而加载,或者它是否正被首次加载和访问。
Gets a value indicating whether the page is being loaded in response to a client postback, or if it is being loaded and accessed for the first time.
而且,当我们发送了操作a,这个缓冲部分后会迫使客户端回置到缓冲模式,新的客户端操作会被集成到缓冲区。
And, as when we sent the a operation, sending the buffer puts the client back into buffer mode with any new client operations being composed into this buffer.
所有这一切都是实时进行的,对客户端应用程序的唯一影响是,当此进程进行时,某些事务可能会回滚。
All this happens in real time and the only effect on client applications is that some transactions might be rolled back while this is going on.
这很重要,因为 ASP.NET中的大部分服务器端控件模型是根据这样一个假设生成的,那就是 —如果用户回发到相同页面,所有控件保持其状态不变。
This is important because much of the server-side control model in ASP.NET is built around the assumption that all controls retain their state if the user posts back to the same page.
该服务回显客户端的输入和应用程序服务器的IP地址,以标识哪一个服务器处理该请求。
The service echoes the client's input and the IP address of the application server to identify which server handles the request.
使用自定义回调处理器将提供更好的特性,并提供从客户端会话上下文动态传递用户名和密码的功能。
Using the custom call back handler will provide better features and the ability to pass the username and password dynamically from the client's session context.
这个回调处理器类拥有两个线程本地变量,用于存储来自客户端实例的用户ID和密码。
The callback handler class has two thread local variables that can store the user ID and password from the client instance.
这是一个对某些物品下订单的服务的简单版本,其中服务是异步的,通过一个回调接口通知客户端进度信息。
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.
相反,我们将这个大对象分解为可管理的几部分,这样扩展就更容易了,同时对核心服务器端行为的回调也更容易。
Instead we have split out this monolithic object into manageable pieces that now make it much easier to extend and hook into core server behavior.
该接口注册了一种回调方法,当订阅到达订阅客户端时,就会调用该方法。
This interface registers a callback method that is called when a publication arrives at the subscribing client.
而客户端事件则是一个当服务器向客户端发送数据时调用的回调函数。
The client event is a callback method that is invoked when the server has sent bytes to the client.
如果服务器端组件上的方法具有非空返回值,该值就会作为其惟一的实参传递进此回调函数。
If the method on the server-side component has a non-void return value, that value is passed into the callback function as its only argument.
此时,如果响应可用,则调用立即返回且客户端得以回滚,如下面的清单5所示。
Here the invocation returns immediately and the client gets a callback when the response is available, as shown in Listing 5 below.
客户端代码和服务代码看起来就像使用了某些魔法,通过来自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.
要接收通知,高级回调接口的实现必须要用MQTT客户端注册。
To receive notifications, an implementation of the advanced callback interface must be registered with the MQTT client.
从清单4中可以看到,如果任何一个更新方法抛出异常,则客户端层方法将负责执行必要的事务回滚。
As you can see from Listing 4, if an exception is thrown in either of the update methods, it is the client layer method's responsibility to do the necessary transaction rollback.
换句话说,我会返回一个303响应,重定向回VM状态,这样客户端就知道状态已经改变了。
In other words, I would return a 303 response that redirected back to the VM status, so that the client would know that the state has changed.
客户端层方法是惟一负责开始、提交和回滚事务的方法。
The client-layer methods are the only methods that are responsible for starting, committing, and rolling back the transaction.
当用户在菜单项上点击时,页面回传并引发服务器端事件。
When the user clicks on any of the menu's menu items, the page posts back and raises a server-side event.
我曾提到过,IBMWorkplace在客户端使用Cloudscape,以便将数据自动复制回服务器。
I mentioned that IBM Workplace USES Cloudscape on the client side for automatic replication back to the server.
客户端调用一个服务(提供一个回调引用),然后继续后续处理。
A client invokes a service (providing a callback reference), then continues further processing.
仅当客户端应用程序运行在同一机器上并且通过环回地址(localhost或127.0.0.1)连接时才能连接到该端口。
You can connect to that port only if your client application is running on the same machine and is connecting through the loopback address (localhost or 127.0.0.1).
应用推荐