Trait ApplicationEventMulticaster

Source
pub trait ApplicationEventMulticaster: Send + Sync {
    // Required methods
    fn add_application_listener(
        &mut self,
        listener: Box<dyn ApplicationListener>,
    );
    fn remove_application_listener(&mut self, key: &Key);
}
Expand description

应用事件多播器 Application event multicaster

Required Methods§

Source

fn add_application_listener(&mut self, listener: Box<dyn ApplicationListener>)

添加应用事件监听器 Add application event listener

Source

fn remove_application_listener(&mut self, key: &Key)

移除应用事件监听器 Remove application event listener

Implementors§