Uses of Interface
io.vertx.core.eventbus.EventBus
Packages that use EventBus
-
Uses of EventBus in io.vertx.core
Methods in io.vertx.core that return EventBus -
Uses of EventBus in io.vertx.core.eventbus
Methods in io.vertx.core.eventbus that return EventBusModifier and TypeMethodDescription<T> EventBusEventBus.addInboundInterceptor(Handler<DeliveryContext<T>> interceptor) Add an interceptor that will be called whenever a message is received by Vert.x<T> EventBusEventBus.addOutboundInterceptor(Handler<DeliveryContext<T>> interceptor) Add an interceptor that will be called whenever a message is sent from Vert.xEventBus.clusterSerializableChecker(Function<String, Boolean> classNamePredicate) Register a predicate to invoke when verifying if an object is forbidden to be encoded/decoded asClusterSerializable.EventBus.codecSelector(Function<Object, String> selector) Set selector to be invoked when the bus has not found any codec for aMessagebody.Publish a message.EventBus.publish(String address, Object message, DeliveryOptions options) Likepublish(String, Object)but specifyingoptionsthat can be used to configure the delivery.EventBus.registerCodec(MessageCodec codec) Register a message codec.<T> EventBusEventBus.registerDefaultCodec(Class<T> clazz, MessageCodec<T, ?> codec) Register a default message codec.<T> EventBusEventBus.removeInboundInterceptor(Handler<DeliveryContext<T>> interceptor) Remove an interceptor that was added byaddInboundInterceptor(Handler)<T> EventBusEventBus.removeOutboundInterceptor(Handler<DeliveryContext<T>> interceptor) Remove an interceptor that was added byaddOutboundInterceptor(Handler)Sends a message.EventBus.send(String address, Object message, DeliveryOptions options) Likesend(String, Object)but specifyingoptionsthat can be used to configure the delivery.EventBus.serializableChecker(Function<String, Boolean> classNamePredicate) Register a predicate to invoke when verifying if an object is allowed to be encoded/decoded asSerializable.EventBus.unregisterCodec(String name) Unregister a message codec.EventBus.unregisterDefaultCodec(Class clazz) Unregister a default message codec.