| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final EventBusImpl | |
| private final boolean | |
| private DeliveryOptions | |
| private final boolean | |
| private final Vertx |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Future | close()
Implements io. Closes the producer, this method should be called when the message producer is not used anymore. |
| public void | close(Handler<AsyncResult<Void>> handler)
Implements io. Same as |
| public synchronized MessageProducer | deliveryOptions(DeliveryOptions
the new options options)Implements io. Update the delivery options of this producer. |
| public Future | write(T body)
Implements io. Like |
| public void | write(T
the message body body, Handler<AsyncResult<Void>> handler)Implements io. Write a message to the event-bus, either sending or publishing. |
| private void |
| address | back to summary |
|---|---|
| private final String address | |
| bus | back to summary |
|---|---|
| private final EventBusImpl bus | |
| localOnly | back to summary |
|---|---|
| private final boolean localOnly | |
| options | back to summary |
|---|---|
| private DeliveryOptions options | |
| send | back to summary |
|---|---|
| private final boolean send | |
| vertx | back to summary |
|---|---|
| private final Vertx vertx | |
| MessageProducerImpl | back to summary |
|---|---|
| public MessageProducerImpl(Vertx vertx, String address, boolean send, DeliveryOptions options) | |
| address | back to summary |
|---|---|
| public String address() Implements io.
| |
| close | back to summary |
|---|---|
| public Future Implements io. Doc from io. Closes the producer, this method should be called when the message producer is not used anymore. | |
| close | back to summary |
|---|---|
| public void close(Handler<AsyncResult<Void>> handler) Implements io. Doc from io. Same as
| |
| deliveryOptions | back to summary |
|---|---|
| public synchronized MessageProducer Implements io. Doc from io. Update the delivery options of this producer.
| |
| write | back to summary |
|---|---|
| public Future Implements io. Doc from io. Like
| |
| write | back to summary |
|---|---|
| public void write(T body, Handler<AsyncResult<Void>> handler) Implements io. Doc from io. Write a message to the event-bus, either sending or publishing.
The
handler is not a delivery guarantee.
| |
| write | back to summary |
|---|---|
| private void write(T data, Promise<Void> handler) | |