| Package | Description |
|---|---|
| org.noear.dami.api.impl | |
| org.noear.dami.bus | |
| org.noear.dami.bus.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
MethodTopicListener
方法主题监听器
|
| Modifier and Type | Field and Description |
|---|---|
protected TopicListener<Payload<C,R>> |
TopicListenerHolder.listener |
| Modifier and Type | Method and Description |
|---|---|
TopicListener<Payload<C,R>> |
TopicListenerHolder.getListener()
获取监听器
|
| Modifier and Type | Method and Description |
|---|---|
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)
取消监听
|
| Constructor and Description |
|---|
TopicListenerHolder(int index,
TopicListener<Payload<C,R>> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
TopicListenPipeline.add(int index,
TopicListener<Payload<C,R>> 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<Payload<C,R>> 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<Payload<C,R>> listener)
移除监听
|
| Constructor and Description |
|---|
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 © 2025. All rights reserved.