| 程序包 | 说明 |
|---|---|
| org.noear.dami.api | |
| org.noear.dami.api.impl | |
| org.noear.dami.bus | |
| org.noear.dami.bus.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
Object[] |
CoderDefault.decode(Method method,
Payload payload)
解码
|
Object[] |
Coder.decode(Method method,
Payload payload)
解码
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MethodTopicListener.onEvent(Payload payload) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected TopicListener<Payload<C,R>> |
TopicListenerHolder.listener |
| 限定符和类型 | 方法和说明 |
|---|---|
Payload<C,R> |
PayloadFactory.create(String topic,
C content,
Acceptor<R> acceptor)
创建
|
| 限定符和类型 | 方法和说明 |
|---|---|
TopicListener<Payload<C,R>> |
TopicListenerHolder.getListener()
获取监听器
|
| 限定符和类型 | 方法和说明 |
|---|---|
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)
拦截
|
| 限定符和类型 | 方法和说明 |
|---|---|
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)
取消监听
|
| 构造器和说明 |
|---|
TopicListenerHolder(int index,
TopicListener<Payload<C,R>> listener) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PayloadDefault<C,R>
事件负载本地实现
|
| 限定符和类型 | 方法和说明 |
|---|---|
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)
执行拦截
|
| 限定符和类型 | 方法和说明 |
|---|---|
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)
移除监听
|
| 构造器和说明 |
|---|
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.