Package io.vertx.rxjava3.core.eventbus
Class MessageProducer<T>
- java.lang.Object
-
- io.vertx.rxjava3.core.eventbus.MessageProducer<T>
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MessageProducer>__TYPE_ARGTypeArg<T>__typeArg_0
-
Constructor Summary
Constructors Constructor Description MessageProducer(MessageProducer delegate)MessageProducer(Object delegate, TypeArg<T> typeArg_0)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()io.reactivex.rxjava3.core.Completableclose()Same asclose()but with anhandlercalled when the operation completesMessageProducer<T>deliveryOptions(DeliveryOptions options)Update the delivery options of this producer.booleanequals(Object o)MessageProducergetDelegate()inthashCode()static <T> MessageProducer<T>newInstance(MessageProducer arg)static <T> MessageProducer<T>newInstance(MessageProducer arg, TypeArg<T> __typeArg_T)io.reactivex.rxjava3.core.CompletablerxClose()Same asclose()but with anhandlercalled when the operation completesio.reactivex.rxjava3.core.CompletablerxWrite(T body)Write a message to the event-bus, either sending or publishing.StringtoString()io.reactivex.rxjava3.core.Completablewrite(T body)Write a message to the event-bus, either sending or publishing.
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<MessageProducer> __TYPE_ARG
-
-
Constructor Detail
-
MessageProducer
public MessageProducer(MessageProducer delegate)
-
-
Method Detail
-
getDelegate
public MessageProducer getDelegate()
-
deliveryOptions
public MessageProducer<T> deliveryOptions(DeliveryOptions options)
Update the delivery options of this producer.- Parameters:
options- the new options- Returns:
- this producer object
-
address
public String address()
- Returns:
- The address to which the producer produces messages.
-
write
public io.reactivex.rxjava3.core.Completable write(T body)
Write a message to the event-bus, either sending or publishing.- Parameters:
body- the message body- Returns:
-
rxWrite
public io.reactivex.rxjava3.core.Completable rxWrite(T body)
Write a message to the event-bus, either sending or publishing.- Parameters:
body- the message body- Returns:
-
close
public io.reactivex.rxjava3.core.Completable close()
Same asclose()but with anhandlercalled when the operation completes- Returns:
-
rxClose
public io.reactivex.rxjava3.core.Completable rxClose()
Same asclose()but with anhandlercalled when the operation completes- Returns:
-
newInstance
public static <T> MessageProducer<T> newInstance(MessageProducer arg)
-
newInstance
public static <T> MessageProducer<T> newInstance(MessageProducer arg, TypeArg<T> __typeArg_T)
-
-