public class AsyncEventHandler extends java.lang.Object implements EventHandler
Constructor and Description |
---|
AsyncEventHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Subscription subscription,
java.lang.Object event)
将订阅的函数执行在异步线程中
|
public void handleEvent(Subscription subscription, java.lang.Object event)
handleEvent
in interface EventHandler
subscription
- event
-