The client has to inherit that interface and implement an event function if it wants to handle that event.
客户端必须继承接口,并实现它需要处理事件的事件函数。
Each event function contains two forms: one without any arguments, and one that contains a function as an argument.
每个事件函数都包含两种形式:一个没有任何参数,一个包含一个函数作为参数。
In Windows, event objects are one of the synchronization objects whose state needs to be explicitly set to signaled using the SetEvent function. Event objects come in two types.
在Windows中,事件对象是那些需要使用SetEvent函数显式地将其状态设置为有信号状态的同步对象。
The brief called for a five-star, 186-room contemporary urban business hotel with world-class conferencing and event function facilities catering to both business and leisure travelers.
这是一个五星级的城市商务酒店,包括186个房间,世界级会议室以及举办各种活动的设施,结合商用和娱乐用途。
When he plugged his hometown's zip code into MyBO's event function toward the end of the campaign, he wasn't expecting much -- "they went pretty solidly for McCain there, " he says with a smile.
当他在竞选活动快结束的时候,把自己家乡的邮政编码输入到MyBO的活动功能中,他没有料到——“他们其实是麦凯恩的坚定支持者,”他微笑着说。
A receiving event defines its handling function.
接收事件定义它的处理功能。
This function returns the handle to the event object and can be used in subsequent calls to the event object.
这个函数返回事件对象的句柄,这样就可以在后续的调用中使用这个事件对象了。
The wait function on the event object blocks the calling thread until its state is set to signaled state.
对事件对象调用的等待函数会阻塞调用线程,直到其状态被设置为有信号状态为止。
Listing 6 shows the event handlers and the callback function of the sample widget.
清单6显示的是小部件样例的事件处理函数和回调函数。
This function creates a manual-reset or auto-reset event object and also sets the initial state of the object.
这个函数创建一个手工重置或自动重置的事件对象,同时还要设置改对象的初始状态。
This function receives the event details for the click, though they are not used in this case.
该函数将接收关于单击的事件信息,不过本例中并没有使用到。
For example, data event monitoring services perform the "sensor" function by detecting changes in the information sources and creating and publishing events.
例如,数据事件监视服务通过检测信息源中的更改并创建和发布事件,从而执行“传感器”功能。
Pointer to the callback function to be invoked (for one or more event Types) — for each specific event, register a callback function, and then these functions are called when the event occurs.
指向要调用的回调函数的指针(对于一种或多种事件类型)——为每种特定的事件注册一个回调函数,然后将在事件发生时调用这些函数。
Unfortunately, this won't be the case, and you might find yourself running off to figure out how to capture the keypress event to mimic this function.
遗憾的是,情况并非如此,您可能会发现自己必须努力确定如何捕获按键事件来模拟这个功能。
Each event is in the domain of the transition function belonging to the "current" node, where the function's range is a subset of the nodes.
每个事件都在属于“当前”节点的转移函数的控制范围内,其中函数的范围是节点的一个子集。
Hook_name is the name of an action hook provided by WordPress, that tells what event your function should be associated with.
hook_name参数是WordPress提供的Actionhook(动作钩子)名称,这决定了你的函数应当和哪个事件结合。
Linux calls this function to post one event completion for the semaphore identified by the object.
Linux调用这个函数来为此对象所标识的信号发布一个事件完成信号。
Using that method, you can accomodate this unexpected event by adding the function highlighted in bold in Listing 4 to the actionTransitionFunctions table.
通过使用这个方法,可以在actiontransitionfunctions表中添加清单4中粗体的函数,从而处理这个意外的事件。
Next, we need to assign the init() JavaScript function to the tag's onserverload event.
然后,我们需要将init()这个JS函数指派给标签的onserverload事件。
The name of an action hook provided by WordPress, that tells what event your function should be associated with.
hook_name参数是WordPress提供的Actionhook(动作钩子)名称,这决定了你的函数应当和哪个事件结合。
It then calls the jQuery blur method, which binds a function to the onblur event for the username field.
随后调用jQueryblur方法,后者将一个函数绑定到用户名字段的onblur事件。
You'll also notice further down the code that you set the Post button to class this function when the click event is fired.
继续往下看该代码的时候,您还会发现您将Post按钮设置为在触发click事件时调用该函数。
When an event is received, it triggers the handleData function (which is implemented later).
当收到一个事件时,会触发handledata函数(后面会实现)。
When the client receives the response from the application server, the function defined in the callback event is invoked.
当客户机收到应用服务器的响应时,调用callback事件中定义的函数。
On the click event, it calls the update function and passes on the employee object, which is bondable to the form fields, name, and identifier.
在出现单击事件时,它将调用update函数并传递可以绑定到表单字段name和identifier的employee对象。
Event sequencing - event sequencing is a function in InterChange Server that ensures that events are processed in a certain order.
事件顺序——事件顺序是InterChangeServer中的一项功能,用以确保事件按照一定的顺序进行处理。
To build the example overview list, the queryAndUpdate function is called from the event handler functions.
要构造示例概要清单,从事件处理函数中调用queryandupdate函数。
When this request is complete, the loadChart() function is called and the current event listener is removed.
完成此请求后,将调用 loadChart()函数,并删除当前事件侦听器。
The function sendData publishes the event using the code shown in listing 9.
函数sendData使用清单 9 中显示的代码发布事件。
The function sendData publishes the event using the code shown in listing 9.
函数sendData使用清单 9 中显示的代码发布事件。
应用推荐