这包括在应用的生命中发送重要事件的对象通知,设计定制的生命周期基础结构。
This involves sending objects notifications of important events in the life of the application and designing custom lifecycle infrastructure.
在图3所示的体系结构中,传感器组件还必须将包括实际事件对象的通知消息发布到连接层中的代理组件。
In the architecture depicted in Figure 3, the sensor component must also publish a notification message that includes the actual event object to the broker component in the connectivity layer.
如果必须将一个事件同时通知多个对象管理器,那么使用发布-订阅模型是最合适的。
When you have to notify multiple object managers of an event at the same time, a publish-subscribe paradigm is best suited for your communication needs.
应用推荐