public class InterceptorEntity<P> extends Object implements EventInterceptor<P>
| Constructor and Description |
|---|
InterceptorEntity(int index,
EventInterceptor<P> real) |
| Modifier and Type | Method and Description |
|---|---|
void |
doIntercept(Event<P> event,
InterceptorChain<P> chain)
拦截
|
int |
getIndex()
获取顺序位
|
EventInterceptor<P> |
getReal()
获取原拦截器
|
public InterceptorEntity(int index,
EventInterceptor<P> real)
public int getIndex()
public EventInterceptor<P> getReal()
public void doIntercept(Event<P> event, InterceptorChain<P> chain)
doIntercept in interface EventInterceptor<P>event - 事件chain - 拦截链Copyright © 2025. All rights reserved.