大部分订阅服务器无需其他高级回调功能就可实现简单的回调接口。
Most subscribers do not need the additional advanced callback features and can implement the simple callback interface.
我们会重新拾回简单的乐趣,比如打牌、国际象棋、西洋双陆棋、跳棋、聊天、跳舞还有音乐。
We would rediscover the simple pleasures, such as CARDS, chess, backgammon, draughts, talking, dancing and playing music.
有两种回调处理程序,简单回调处理程序和高级回调处理程序。
Callback handlers come in two flavors, a simple callback handler and an advanced callback handler.
有两种回调处理程序,简单回调处理程序和高级回调处理程序。
There are two types of callback handlers: a simple callback handler and an advanced callback handler.
有没有更简单的中水回用办法呢?
然后,把结果代回,然后计算这个差值,结果很简单。
So then, substituting back here, so now we've calculated this difference, it's a simple result.
该例中,因为所有的服务器输出都直接输出到windowdiv标记,所以可以重复使用简单的回调函数。
In our example, since all output from the server is being output directly into our window div tag, you can reuse the simple callback twice.
MqttAdvancedCallback接口用来扩展 MqttCallback,所以在使用高级回调接口时,也必须实现在简单回调接口中定义的方法。
The MqttAdvancedCallback interface extends the MqttCallback, so when you use the advanced callback interface, you must also implement the methods defined in the simple callback interface.
因为LinSched为其模拟在Linux内使用Linux调度器子系统,所以进行更改,然后将更改集成回内核要简单得多。
Because LinSched USES the Linux scheduler subsystem within Linux for its simulation, it's much simpler to make changes, and then integrate them back into the kernel.
这一机制背后的原理其实很简单:Rails首先通过反射将控制器中的变量拷贝到一个容器中,其后又将该容器中的变量拷贝回视图实例。
The magic is actually quite simple: Rails uses reflection to copy controller variables into a collection, which is then copied back into the view instance.
要实现这种功能,生成一个HEAD请求,然后在回调函数中检查404错误;清单11给出了一个简单的回调函数。
To do this, make a HEAD request and then check for a 404 error in your callback function; Listing 11 shows a sample callback.
可惜的是,有时候需要的是对事务多一点的控制,而不是在当前的事务中简单地对每一个改变进行回滚。
Unfortunately, it is sometimes desirable to have more control over a transaction than simply rolling back every change in the current transaction.
用户:唔,那你做简单的80%,让“另80%”变成错误情况又是怎么一回事呢?
User: Well, how about you do the easy 80% and make "the other 80%" into error cases?
这支持简单的回滚和恢复,但是如果所调用的应用程序无法快速响应,则会影响性能。
This supports simple rollback and recovery, but can impact performance if the application being invoked can't respond quickly.
这一服务规范稍微有些复杂,这是因为它是通过使用简单的回调式的交互对交付者和订购者之间的交互进行建模。
This service specification is a little more complicated, because it models the interaction between a shipper and an orderer by using a simple callback style interaction.
如果你在匆忙赶路,可能只是简单地点头,然后继续赶路;但是你也可能决定花点时间,在走之前回她一个微笑,重复这个祝福。
If you're in a hurry, you might nod curtly and be on your way; but you could decide to take your time, smile back and repeat the message before you go.
一旦创建了简单回调接口的实现,就必须将其注册到客户机。
Once an implementation of the simple callback interface is created it must be registered with the client.
然后你怎样把这些想法和记录传达回给你的客户,而不是简单地像撕成八瓣一样对现有网站批判一番?
How then do you convey these ideas and notes back to the client without simply ripping the current site apart?
为了简单化,我们从一个单独的计算按钮被按次数的回调开始。
To simplify things, we'll start with a single callback that counts the number of button clicks.
我们可以把按钮类的逻辑从回调逻辑中分离出来,这样每一个逻辑组件变得更加简单,更模块化,更可重用化。
We would like to separate the button-specific logic from the callback logic, such that each logical component becomes simpler, more modular, and more reusable.
如果双方都希望和平的话,那这一措施可能会其效果,但前提是这一回归的权利是能过协商的,而非简单的宣称。
If a desire for peace really existed on all sides, that approach might possibly work-but only if it were accepted that the right of return is something to be negotiated, not simply asserted.
应用程序消息通过一个简单的回调机制异步传递,并且只以字节数组有效负载的格式提供。
Application messages are delivered asynchronously through a simple callback mechanism and are provided only in byte array payload format.
清单10提供了一个简单的回调函数,用来输出从HEAD请求中获得的响应头的内容。
Listing 10 provides a simple callback function to output all the response headers from a head request.
图23回顾主要步骤(为了简单,删除了一些细节):创建任务列表,打开表单,处理业务数据,然后完成任务。
Figure 23 recaps the main steps of creating a task list, opening a form, working with the business data, and then completing the task (with some details removed for clarity).
这是一个对某些物品下订单的服务的简单版本,其中服务是异步的,通过一个回调接口通知客户端进度信息。
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.
该设备获取并存储了完整环境的快照,以提供一个简单的回滚功能,从而推动了补丁和更新的应用。
The appliance drives the application of the fix or upgrade after it has taken and stored a snapshot of the entire environment to provide a simple rollback capability.
总体目标是尽可能简单地将代码保存在异步回调中并且尽可能使彼此断开连接。
The general goal is to keep the code inside the asynchronous callbacks as simple as possible and as disconnected from each other as possible.
HOP的第1章从几个简单的主题展开了讨论,例如递归和回调,同时给出了很好的例子。
Chapter 1 in HOP opens with simple topics like recursion and callbacks, always backed by good examples.
这个简单的例子仅用于说明问题,并不意味着回滚就是这么简单。
This simple example is meant to be illustrative, not to trivialize rollback.
换句话说,直回面积与社会认知能力似乎有联系,但这绝非简单的性别差异。
In other words, there does seem to be a relationship between SG size and social perception, but it is not a simple male-female difference.
应用推荐