指向要调用的回调函数的指针(对于一种或多种事件类型)——为每种特定的事件注册一个回调函数,然后将在事件发生时调用这些函数。
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.
我们可以与控件id一起来注册当按钮被点击时激发的回调或事件。
Along with the widget id, we can register callbacks or events that fire when events such as a button click occurs.
添加内部类以实现MqttSimpleCallback接口和回调处理程序的注册。
An inner class is added to implement the MqttSimpleCallback interface, and the registration of that handler.
程序的最后一行调用mainloop语句,这个语句的作用是开始监听用户事件,并且把它们分派给合适的回调。所有的事件都已被对应的能够产生事件的部件注册。
The last line calls MainLoop, which starts listening for user events and dispatches them to the appropriate callbacks, which have been registered with each widget that can generate events.
在注册回调例程之前,使用EMCreateRecursionID函数获得一个递归id很有用。
Before registering the callback routine, it is useful to obtain a recursion ID using the EMCreateRecursionID function.
EMRegister函数用于注册回调例程。
The EMRegister function is used to register the callback routine. It is best explained with an example.
注册回调实现(例如,通过使用继承defaulthandler的类)。
Register callback implementations (by using a class that extends DefaultHandler, for example).
当一个语句执行时(1),触发器被调用(2)。触发器注册一个回调函数(3),以便将结果写入一个文件。
When a statement executes (1), the trigger is called (2). The trigger registers a callback function (3) to write the result to a file.
有些充当回调机制的容器事件,也注册到了这里。
Some container events, which act as call-back mechanisms, are registered here.
如果注册了一个路径,它就使用定义的回调函数来生成要显示的内容。
If a path is registered, it USES the defined function as a callback to produce the content presented.
传送请求完成后,核心会使用以前注册的回调函数来通知驱动程序。
The core notifies the driver using previously registered callback functions after the transfer request is completed.
该接口注册了一种回调方法,当订阅到达订阅客户端时,就会调用该方法。
This interface registers a callback method that is called when a publication arrives at the subscribing client.
属性回调是为组件属性注册相同属性类型信息的一项功能。
The property callback is a function that registers the same property type information for the component properties.
代码的第二个添加涉及一个回调函数的注册。
The second addition to the code concerns the registration of a callback function.
一旦创建了简单回调接口的实现,就必须将其注册到客户机。
Once an implementation of the simple callback interface is created it must be registered with the client.
要处理消息和事件,必须创建一个回调处理程序,并且必须将其注册到MQTT客户机。
To process messages and events a callback handler must be created and registered with the MQTT client.
要收到发布的确认,必须创建回调处理程序,此处理程序还必须用MQTT客户机对象注册。
To receive acknowledgments of publications, a callback handler must be created and registered with the MQTT client object.
有许多可以为其注册回调例程的操作,这个参数值指出了每个以EM _开头的操作(完整列表可以从api参考指导中获得)。
There are a number of operations that you can register callback routines for and the value to indicate each operation begins with EM_ (the complete list is available in the API reference guide).
要接收通知,高级回调接口的实现必须要用MQTT客户端注册。
To receive notifications, an implementation of the advanced callback interface must be registered with the MQTT client.
清单3.回调注册。
当然,如果所有的网络服务提供商都免费提供私人注册服务,将其作为服务标准,那么这个问题也没什么大不了。但这是另外一回事。
Of course, it wouldn't hurt if ISPs everywhere decided to offer private registrations as standard without an additional charge, but that's another story.
在注册时,我提供了一些信息,包括将用作关键字的回调url。
When I register, I provide a few pieces of information, including a callback URL that will be used as a key.
这个结构体可作为一个参数,让方法进行轮询,或者注册到一个回调中,在撤销被请求的时候触发。
This struct is used as an argument to allow methods to poll on it or register a callback to be fired when cancellation is requested. Cancellationtokensource.
为了实现这个要求,可以在XMLHttpRequest上注册一个回调函数,然后异步地分派 XMLHttpRequest。
To accomplish this, you can register a callback function with the XMLHttpRequest and then dispatch the XMLHttpRequest asynchronously.
还记得在回调注册中的label参数么?
DataBladeAPI提供了一些方法来注册等待特定事件的回调函数。
The DataBlade API provides ways to register callback functions that wait for specific events.
注册这些事件的回调并随后对来自这些事件的数据执行某种逻辑都由handler来完成。
It's up to a handler to register callbacks for these events and then perform some kind of logic on the data from these events.
这个代码注册一个名为 cbfunc() 的回调函数。
策略提供者是策略消费者的潜在观察者,它会查找RFSSWeb服务,检查请求者的类型,注册一个回调方法,以执行特定的策略。
The strategy provider, as a potential observer of a strategy consumer, looks for RFSS web services, checks the type of request, and registers for a callback to execute the particular strategy.
策略提供者是策略消费者的潜在观察者,它会查找RFSSWeb服务,检查请求者的类型,注册一个回调方法,以执行特定的策略。
The strategy provider, as a potential observer of a strategy consumer, looks for RFSS web services, checks the type of request, and registers for a callback to execute the particular strategy.
应用推荐