| 程序包 | 说明 |
|---|---|
| org.noear.dami.api.impl | |
| org.noear.dami.bus | |
| org.noear.dami.bus.impl |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MethodTopicListener
方法主题监听器
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TopicRouter.add(String topic,
int index,
TopicListener<Payload<C,R>> listener)
添加监听
|
void |
DamiBusImpl.listen(String topic,
int index,
TopicListener<Payload<C,R>> listener)
监听
|
void |
DamiBus.listen(String topic,
int index,
TopicListener<Payload<C,R>> listener)
监听
|
default void |
DamiBus.listen(String topic,
TopicListener<Payload<C,R>> listener)
监听
|
void |
TopicRouter.remove(String topic,
TopicListener<Payload<C,R>> listener)
移除监听
|
void |
DamiBusImpl.unlisten(String topic,
TopicListener<Payload<C,R>> listener)
取消监听
|
void |
DamiBus.unlisten(String topic,
TopicListener<Payload<C,R>> listener)
取消监听
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
TopicListenPipeline<Event>
主题监听管道
|
| 限定符和类型 | 方法和说明 |
|---|---|
TopicListener<Payload<C,R>> |
Routing.getListener()
获取监听器
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TopicListenPipeline.add(int index,
TopicListener<Event> listener)
添加监听(带顺序位)
|
void |
TopicRouterPatterned.add(String topic,
int index,
TopicListener<Payload<C,R>> listener)
添加监听
|
void |
TopicRouterDefault.add(String topic,
int index,
TopicListener<Payload<C,R>> listener)
添加监听
|
void |
TopicListenPipeline.add(TopicListener<Event> listener)
添加监听
|
Routing<C,R> |
RoutingFactory.create(String topic,
int index,
TopicListener<Payload<C,R>> listener)
创建路由记录
|
void |
TopicRouterPatterned.remove(String topic,
TopicListener<Payload<C,R>> listener)
移除监听
|
void |
TopicRouterDefault.remove(String topic,
TopicListener<Payload<C,R>> listener)
移除监听
|
void |
TopicListenPipeline.remove(TopicListener<Event> listener)
移除监听
|
| 构造器和说明 |
|---|
Routing(String expr,
int index,
TopicListener<Payload<C,R>> listener) |
RoutingPath(String expr,
int index,
TopicListener<Payload<C,R>> listener) |
RoutingTag(String expr,
int index,
TopicListener<Payload<C,R>> listener) |
Copyright © 2023. All rights reserved.