public interface EventHandler
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Subscription subscription,
java.lang.Object event)
处理事件
|
void handleEvent(Subscription subscription, java.lang.Object event)
subscription
- 订阅对象event
- 待处理的事件