Package | Description |
---|---|
io.vertx.core.eventbus |
== The Event Bus
:toc: left
The
event bus is the *nervous system* of Vert.x. |
Modifier and Type | Method and Description |
---|---|
MessageProducer<T> |
MessageProducer.deliveryOptions(DeliveryOptions options)
Update the delivery options of this producer.
|
MessageProducer<T> |
MessageProducer.drainHandler(Handler<Void> handler) |
MessageProducer<T> |
MessageProducer.exceptionHandler(Handler<Throwable> handler) |
<T> MessageProducer<T> |
EventBus.publisher(String address)
Create a message publisher against the specified address.
|
<T> MessageProducer<T> |
EventBus.publisher(String address,
DeliveryOptions options)
Like
EventBus.publisher(String) but specifying delivery options that will be used for configuring the delivery of
the message. |
MessageProducer<T> |
MessageProducer.send(T message)
Synonym for
write(Object) . |
<R> MessageProducer<T> |
MessageProducer.send(T message,
Handler<AsyncResult<Message<R>>> replyHandler) |
<T> MessageProducer<T> |
EventBus.sender(String address)
Create a message sender against the specified address.
|
<T> MessageProducer<T> |
EventBus.sender(String address,
DeliveryOptions options)
Like
EventBus.sender(String) but specifying delivery options that will be used for configuring the delivery of
the message. |
MessageProducer<T> |
MessageProducer.setWriteQueueMaxSize(int maxSize) |
MessageProducer<T> |
MessageProducer.write(T data) |
Copyright © 2018 Eclipse. All rights reserved.