Package | Description |
---|---|
io.vertx.core.eventbus | |
io.vertx.core.spi.metrics | |
io.vertx.ext.unit.collect | |
io.vertx.reactivex.core.eventbus | |
io.vertx.rxjava.core.eventbus | |
io.vertx.serviceproxy |
Modifier and Type | Method and Description |
---|---|
Message<T> |
DeliveryContext.message() |
Modifier and Type | Method and Description |
---|---|
<T> MessageConsumer<T> |
EventBus.consumer(String address,
Handler<Message<T>> handler)
Create a consumer and register it against the specified address.
|
MessageConsumer<T> |
MessageConsumer.handler(Handler<Message<T>> handler) |
<T> MessageConsumer<T> |
EventBus.localConsumer(String address,
Handler<Message<T>> handler)
Like
EventBus.consumer(String, Handler) but the address won't be propagated across the cluster. |
<R> void |
Message.reply(Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<R>>> replyHandler)
Deprecated.
|
<R> void |
Message.reply(Object message,
Handler<AsyncResult<Message<R>>> replyHandler)
Deprecated.
|
default <R> void |
Message.replyAndRequest(Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<R>>> replyHandler)
Like
replyAndRequest(Object, Handler) but specifying options that can be used
to configure the delivery. |
default <R> void |
Message.replyAndRequest(Object message,
Handler<AsyncResult<Message<R>>> replyHandler)
Reply to this message, specifying a
replyHandler for the reply - i.e. |
default <T> EventBus |
EventBus.request(String address,
Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<T>>> replyHandler)
Like
EventBus.request(String, Object, Handler) but specifying options that can be used to configure the delivery. |
default <T> EventBus |
EventBus.request(String address,
Object message,
Handler<AsyncResult<Message<T>>> replyHandler)
Sends a message and and specify a
replyHandler that will be called if the recipient
subsequently replies to the message. |
<T> EventBus |
EventBus.send(String address,
Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<T>>> replyHandler)
Deprecated.
|
<T> EventBus |
EventBus.send(String address,
Object message,
Handler<AsyncResult<Message<T>>> replyHandler)
Deprecated.
use
EventBus.request(String, Object, Handler) instead |
<R> MessageProducer<T> |
MessageProducer.send(T message,
Handler<AsyncResult<Message<R>>> replyHandler)
Deprecated.
instead use
EventBus.request(String, Object, Handler) |
Modifier and Type | Method and Description |
---|---|
default void |
EventBusMetrics.discardMessage(H handler,
boolean local,
Message<?> msg)
Discard a message.
|
Modifier and Type | Method and Description |
---|---|
Handler<Message<JsonObject>> |
EventBusCollector.asMessageHandler() |
Modifier and Type | Method and Description |
---|---|
Message |
Message.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> Message<T> |
Message.newInstance(Message arg) |
static <T> Message<T> |
Message.newInstance(Message arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
Message(Message delegate) |
Modifier and Type | Method and Description |
---|---|
Message |
Message.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> Message<T> |
Message.newInstance(Message arg) |
static <T> Message<T> |
Message.newInstance(Message arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
Message(Message delegate) |
Modifier and Type | Method and Description |
---|---|
Future<Message<JsonObject>> |
ServiceJWTInterceptor.apply(Message<JsonObject> msg) |
Modifier and Type | Method and Description |
---|---|
Future<Message<JsonObject>> |
ServiceJWTInterceptor.apply(Message<JsonObject> msg) |
static <T> Handler<AsyncResult<T>> |
HelperUtils.createHandler(Message msg) |
static Handler<AsyncResult<List<Character>>> |
HelperUtils.createListCharHandler(Message msg) |
static <T> Handler<AsyncResult<List<T>>> |
HelperUtils.createListHandler(Message msg) |
static Handler<AsyncResult<Set<Character>>> |
HelperUtils.createSetCharHandler(Message msg) |
static <T> Handler<AsyncResult<Set<T>>> |
HelperUtils.createSetHandler(Message msg) |
Copyright © 2023 Eclipse. All rights reserved.