| Package | Description |
|---|---|
| org.noear.dami2.bus | |
| org.noear.dami2.bus.intercept | |
| org.noear.dami2.bus.receivable | |
| org.noear.dami2.lpc | |
| org.noear.dami2.lpc.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleEvent<P>
事件简单的实现
|
| Modifier and Type | Method and Description |
|---|---|
Event<P> |
EventFactory.create(String topic,
P payload)
创建
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventDispatcherDefault.dispatch(Event event,
EventRouter router)
派发
|
void |
EventDispatcher.dispatch(Event event,
EventRouter router)
派发
|
protected void |
EventDispatcherDefault.doDispatch(Event event,
List<EventListenerHolder> targets)
执行派发
|
void |
EventDispatcherDefault.doIntercept(Event event,
InterceptorChain chain)
执行拦截
|
void |
EventListener.onEvent(Event<P> event)
处理监听事件
|
default <P> Result<P> |
DamiBus.send(Event<P> event)
发送事件
|
<P> Result<P> |
DamiBusImpl.send(Event<P> event,
Consumer<P> fallback)
发送事件
|
<P> Result<P> |
DamiBus.send(Event<P> event,
Consumer<P> fallback)
发送事件
|
| Modifier and Type | Method and Description |
|---|---|
void |
InterceptorChain.doIntercept(Event<P> event)
拦截
|
void |
EventInterceptor.doIntercept(Event<P> event,
InterceptorChain<P> chain)
拦截
|
void |
InterceptorEntity.doIntercept(Event<P> event,
InterceptorChain<P> chain)
拦截
|
| Modifier and Type | Method and Description |
|---|---|
void |
CallEventListener.onCall(Event<CallPayload<D,R>> event,
D data,
CompletableFuture<R> sink)
处理调用事件(可由 onEvent 转发简化)
|
default void |
CallEventListener.onEvent(Event<CallPayload<D,R>> event)
处理监听事件
|
default void |
StreamEventListener.onEvent(Event<StreamPayload<D,R>> event)
处理监听事件
|
void |
StreamEventListener.onStream(Event<StreamPayload<D,R>> event,
Map<String,Object> att,
D data,
org.reactivestreams.Subscriber<R> sink)
处理流事件(由 onEvent 转发简化)
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
CoderDefault.decode(Method method,
Event<CallPayload> event)
解码
|
Object[] |
Coder.decode(Method method,
Event<CallPayload> event)
解码
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProviderMethodEventListener.onEvent(Event<CallPayload> event) |
Copyright © 2025. All rights reserved.