Package | Description |
---|---|
io.vertx.rxjava.core.eventbus |
Modifier and Type | Method and Description |
---|---|
static <T> Message<T> |
Message.newInstance(Message arg) |
Modifier and Type | Method and Description |
---|---|
<R> rx.Observable<Message<R>> |
Message.replyObservable(Object message)
The same as
reply(R message) but you can specify handler for the reply - i.e. |
<R> rx.Observable<Message<R>> |
Message.replyObservable(Object message,
DeliveryOptions options)
The same as
reply(R message, DeliveryOptions) but you can specify handler for the reply - i.e. |
<T> rx.Observable<Message<T>> |
EventBus.sendObservable(String address,
Object message)
Like
EventBus.send(java.lang.String, java.lang.Object) but specifying a replyHandler that will be called if the recipient
subsequently replies to the message. |
<T> rx.Observable<Message<T>> |
EventBus.sendObservable(String address,
Object message,
DeliveryOptions options)
Like
EventBus.send(java.lang.String, java.lang.Object) but specifying a replyHandler that will be called if the recipient
subsequently replies to the message. |
rx.Observable<Message<T>> |
MessageConsumer.toObservable() |
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(java.lang.String) but the address won't be propagated across the cluster. |
<R> void |
Message.reply(Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<R>>> replyHandler)
The same as
reply(R message, DeliveryOptions) but you can specify handler for the reply - i.e. |
<R> void |
Message.reply(Object message,
Handler<AsyncResult<Message<R>>> replyHandler)
The same as
reply(R message) but you can specify handler for the reply - i.e. |
<T> EventBus |
EventBus.send(String address,
Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<T>>> replyHandler)
Like
EventBus.send(java.lang.String, java.lang.Object) but specifying a replyHandler that will be called if the recipient
subsequently replies to the message. |
<T> EventBus |
EventBus.send(String address,
Object message,
Handler<AsyncResult<Message<T>>> replyHandler)
Like
EventBus.send(java.lang.String, java.lang.Object) but specifying a replyHandler that will be called if the recipient
subsequently replies to the message. |
Copyright © 2015. All Rights Reserved.