| Package | Description |
|---|---|
| org.noear.dami.api | |
| org.noear.dami.api.impl | |
| org.noear.dami.bus | |
| org.noear.dami.bus.impl |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
CoderDefault.decode(Method method,
Payload payload)
解码
|
Object[] |
Coder.decode(Method method,
Payload payload)
解码
|
| Modifier and Type | Method and Description |
|---|---|
void |
MethodTopicListener.onEvent(Payload payload) |
| Modifier and Type | Field and Description |
|---|---|
protected TopicListener<Payload<C,R>> |
TopicListenerHolder.listener |
| Modifier and Type | Method and Description |
|---|---|
Payload<C,R> |
PayloadFactory.create(String plid,
String topic,
C content,
Acceptor<R> acceptor)
创建
|
| Modifier and Type | Method and Description |
|---|---|
TopicListener<Payload<C,R>> |
TopicListenerHolder.getListener()
获取监听器
|
| Modifier and Type | Method and Description |
|---|---|
void |
TopicDispatcher.dispatch(Payload<C,R> payload,
TopicRouter<C,R> router)
派发
|
void |
InterceptorChain.doIntercept(Payload<C,R> payload)
拦截
|
void |
InterceptorEntity.doIntercept(Payload<C,R> payload,
InterceptorChain<C,R> chain)
拦截
|
void |
Interceptor.doIntercept(Payload<C,R> payload,
InterceptorChain<C,R> chain)
拦截
|
| 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 | Class and Description |
|---|---|
class |
PayloadDefault<C,R>
事件负载本地实现
|
| Modifier and Type | Method and Description |
|---|---|
void |
TopicDispatcherDefault.dispatch(Payload<C,R> payload,
TopicRouter<C,R> router)
派发
|
protected void |
TopicDispatcherDefault.doDispatch(Payload<C,R> payload,
List<TopicListenerHolder<C,R>> targets)
执行派发
|
void |
TopicDispatcherDefault.doIntercept(Payload<C,R> payload,
InterceptorChain<C,R> chain)
执行拦截
|
| 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.