Listing 3 shows a simple event receiver.
清单3显示了一个简单事件接收者。
Vertical causality occurs when the event publisher resides on a different layer than the event receiver.
当事件发布者与事件接收者位于不同层时,发生垂直因果关系。
If new event types are added, the event receiver automatically begins to receive them as they are published.
如果添加新的事件类型,则事件接收者会在它们发布时自动接收它们。
For this purpose, we will define a receiver class and modify our SessionManager class to instantiate the event receiver for us.
为此,我们将定义一个receiver类,并修改SessionManager类以初始化我们的事件接收器。
Horizontal causality occurs when the event publisher resides on the same layer in an architecture's virtual layers as the event receiver.
当事件发布者与事件接收者位于架构虚拟层中的同一层时,发生水平因果关系。
When someone changes the calendar or deletes a name from the contacts list, the code in the event receiver is triggered.
当有人更改日历或从联系人列表中删除某个姓名时,将会触发事件接收器中的代码。
The event channel deals with event hierarchies by determining the most specific subtype of the event interface subscribed by an event receiver.
事件通道通过确定事件接收者订阅的事件接口的最具体的子类型,来处理事件层次结构。
For example, an event receiver could subscribe to all events by invoking the subscribe method of the event channel with a parameter of Event.class.
例如,事件接收者通过使用参数Event . class调用事件通道的subscribe方法,可以订阅所有事件。
Then, the Sametime server transfers the notification to the event-receiver agent applet embedded in the Field Service UI.
然后,Sametime服务器将通知传送到内嵌在FieldService UI 中的事件接收者代理applet。
Then, the Sametime server transfers the notification to the event-receiver agent applet embedded in the Field Service UI.
然后,Sametime服务器将通知传送到内嵌在FieldService UI 中的事件接收者代理applet。
应用推荐