public class TagTopicEventRouter extends Object implements EventRouter
| Constructor and Description |
|---|
TagTopicEventRouter() |
| Modifier and Type | Method and Description |
|---|---|
<P> void |
add(String topicExpr,
int index,
EventListener<P> listener)
添加监听
|
List<EventListenerHolder> |
matching(String topicExpr)
路由匹配
|
void |
remove(String topicExpr)
移除监听
|
<P> void |
remove(String topicExpr,
EventListener<P> listener)
移除监听
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountpublic <P> void add(String topicExpr, int index, EventListener<P> listener)
add in interface EventRoutertopicExpr - 主题表达式index - 顺序位listener - 监听器public <P> void remove(String topicExpr, EventListener<P> listener)
remove in interface EventRoutertopicExpr - 主题表达式listener - 监听器public void remove(String topicExpr)
remove in interface EventRoutertopicExpr - 主题表达式public List<EventListenerHolder> matching(String topicExpr)
matching in interface EventRouterCopyright © 2025. All rights reserved.