Uses of Interface
io.vertx.core.eventbus.EventBus
-
Packages that use EventBus Package Description io.vertx.core io.vertx.core.eventbus io.vertx.ext.web.api.service io.vertx.reactivex.core.eventbus io.vertx.rxjava3.core.eventbus io.vertx.serviceproxy -
-
Uses of EventBus in io.vertx.core
Methods in io.vertx.core that return EventBus Modifier and Type Method Description EventBus
Vertx. eventBus()
Get the event bus object. -
Uses of EventBus in io.vertx.core.eventbus
Methods in io.vertx.core.eventbus that return EventBus Modifier and Type Method Description <T> EventBus
EventBus. addInboundInterceptor(Handler<DeliveryContext<T>> interceptor)
Add an interceptor that will be called whenever a message is received by Vert.x<T> EventBus
EventBus. addOutboundInterceptor(Handler<DeliveryContext<T>> interceptor)
Add an interceptor that will be called whenever a message is sent from Vert.xEventBus
EventBus. clusterSerializableChecker(java.util.function.Function<String,Boolean> classNamePredicate)
Register a predicate to invoke when verifying if an object is forbidden to be encoded/decoded asClusterSerializable
.EventBus
EventBus. codecSelector(java.util.function.Function<Object,String> selector)
Set selector to be invoked when the bus has not found any codec for aMessage
body.EventBus
EventBus. publish(String address, Object message)
Publish a message.EventBus
EventBus. publish(String address, Object message, DeliveryOptions options)
Likepublish(String, Object)
but specifyingoptions
that can be used to configure the delivery.EventBus
EventBus. registerCodec(MessageCodec codec)
Register a message codec.<T> EventBus
EventBus. registerDefaultCodec(Class<T> clazz, MessageCodec<T,?> codec)
Register a default message codec.<T> EventBus
EventBus. removeInboundInterceptor(Handler<DeliveryContext<T>> interceptor)
Remove an interceptor that was added byaddInboundInterceptor(Handler)
<T> EventBus
EventBus. removeOutboundInterceptor(Handler<DeliveryContext<T>> interceptor)
Remove an interceptor that was added byaddOutboundInterceptor(Handler)
EventBus
EventBus. send(String address, Object message)
Sends a message.EventBus
EventBus. send(String address, Object message, DeliveryOptions options)
Likesend(String, Object)
but specifyingoptions
that can be used to configure the delivery.EventBus
EventBus. serializableChecker(java.util.function.Function<String,Boolean> classNamePredicate)
Register a predicate to invoke when verifying if an object is allowed to be encoded/decoded asSerializable
.EventBus
EventBus. unregisterCodec(String name)
Unregister a message codec.EventBus
EventBus. unregisterDefaultCodec(Class clazz)
Unregister a default message codec. -
Uses of EventBus in io.vertx.ext.web.api.service
Methods in io.vertx.ext.web.api.service with parameters of type EventBus Modifier and Type Method Description static RouteToEBServiceHandler
RouteToEBServiceHandler. build(EventBus eventBus, String address, String actionName)
Build a newRouteToEBServiceHandler
static RouteToEBServiceHandler
RouteToEBServiceHandler. build(EventBus eventBus, String address, String actionName, DeliveryOptions deliveryOptions)
Build a newRouteToEBServiceHandler
-
Uses of EventBus in io.vertx.reactivex.core.eventbus
Methods in io.vertx.reactivex.core.eventbus that return EventBus Modifier and Type Method Description EventBus
EventBus. getDelegate()
Methods in io.vertx.reactivex.core.eventbus with parameters of type EventBus Modifier and Type Method Description static EventBus
EventBus. newInstance(EventBus arg)
Constructors in io.vertx.reactivex.core.eventbus with parameters of type EventBus Constructor Description EventBus(EventBus delegate)
-
Uses of EventBus in io.vertx.rxjava3.core.eventbus
Methods in io.vertx.rxjava3.core.eventbus that return EventBus Modifier and Type Method Description EventBus
EventBus. getDelegate()
Methods in io.vertx.rxjava3.core.eventbus with parameters of type EventBus Modifier and Type Method Description static EventBus
EventBus. newInstance(EventBus arg)
Constructors in io.vertx.rxjava3.core.eventbus with parameters of type EventBus Constructor Description EventBus(EventBus delegate)
-
Uses of EventBus in io.vertx.serviceproxy
Methods in io.vertx.serviceproxy with parameters of type EventBus Modifier and Type Method Description MessageConsumer<JsonObject>
ProxyHandler. register(EventBus eventBus, String address)
Register the proxy handle on the event bus.MessageConsumer<JsonObject>
ProxyHandler. registerLocal(EventBus eventBus, String address)
Register the local proxy handle on the event bus.
-