Class AbstractMqttIntroductionAdvice<L,M>
java.lang.Object
io.micronaut.mqtt.intercept.AbstractMqttIntroductionAdvice<L,M>
- Type Parameters:
L- The listener typeM- The message type
- All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,Object>, io.micronaut.aop.MethodInterceptor<Object, Object>, io.micronaut.core.order.Ordered
- Direct Known Subclasses:
Mqtt3IntroductionAdvice, Mqtt5IntroductionAdvice, MqttIntroductionAdvice, MqttIntroductionAdvice
-
Field Summary
Fields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MqttBindingContext<M> createBindingContext(io.micronaut.aop.MethodInvocationContext<Object, Object> context) abstract LcreateListener(Runnable onSuccess, Consumer<Throwable> onError) Create a listener.abstract Class<? extends Annotation> abstract ObjectPublishes the message.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aop.MethodInterceptor
interceptMethods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
AbstractMqttIntroductionAdvice
-
-
Method Details
-
intercept
-
createBindingContext
public abstract MqttBindingContext<M> createBindingContext(io.micronaut.aop.MethodInvocationContext<Object, Object> context) - Parameters:
context- The method context- Returns:
- The binding context to bind data used in publishing
-
publish
-
createListener
-
getRequiredAnnotation
- Returns:
- The implement specific client annotation class
-