Example usage for Java io.vertx.core.eventbus EventBus fields, constructors, methods, implement or subclass
The text is from its open source code.
MessageConsumer | consumer(String address) Create a message consumer against the specified address. |
MessageConsumer | consumer(String address, Handler Create a consumer and register it against the specified address. |
MessageConsumer | localConsumer(String address) Like #consumer(String) but the address won't be propagated across the cluster. |
MessageConsumer | localConsumer(String address, Handler Like #consumer(String,Handler) but the address won't be propagated across the cluster. |
EventBus | publish(String address, @Nullable Object message) Publish a message. The message will be delivered to all handlers registered to the address. |
EventBus | publish(String address, @Nullable Object message, DeliveryOptions options) Like #publish(String,Object) but specifying options that can be used to configure the delivery. |
EventBus | registerCodec(MessageCodec codec) Register a message codec. |
EventBus | registerDefaultCodec(Class Register a default message codec. |
EventBus | send(String address, @Nullable Object message, DeliveryOptions options) Like #send(String,Object) but specifying options that can be used to configure the delivery. |
EventBus | send(String address, @Nullable Object message) Sends a message. |