Package kos.core.events
Class EventBusSinkManager.CodecAwareMessageProducer<T>
- java.lang.Object
-
- kos.core.events.EventBusSinkManager.CodecAwareMessageProducer<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
io.vertx.core.eventbus.MessageProducer<T>
- Enclosing class:
- EventBusSinkManager
private class EventBusSinkManager.CodecAwareMessageProducer<T> extends Object implements io.vertx.core.eventbus.MessageProducer<T>
Ensures that the typeEventBusSinkManager.CodecAwareMessageProducerwill be serialisable using the default Codec.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateCodecAwareMessageProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()io.vertx.core.Future<Void>close()voidclose(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)io.vertx.core.eventbus.MessageProducer<T>deliveryOptions(io.vertx.core.eventbus.DeliveryOptions deliveryOptions)io.vertx.core.Future<Void>write(T t)voidwrite(T t, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
-
-
-
Field Detail
-
delegated
private final io.vertx.core.eventbus.MessageProducer<T> delegated
-
-
Method Detail
-
deliveryOptions
public io.vertx.core.eventbus.MessageProducer<T> deliveryOptions(io.vertx.core.eventbus.DeliveryOptions deliveryOptions)
- Specified by:
deliveryOptionsin interfaceio.vertx.core.eventbus.MessageProducer<T>
-
address
public String address()
- Specified by:
addressin interfaceio.vertx.core.eventbus.MessageProducer<T>
-
write
public void write(T t, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
- Specified by:
writein interfaceio.vertx.core.eventbus.MessageProducer<T>
-
write
public io.vertx.core.Future<Void> write(T t)
- Specified by:
writein interfaceio.vertx.core.eventbus.MessageProducer<T>
-
close
public io.vertx.core.Future<Void> close()
- Specified by:
closein interfaceio.vertx.core.eventbus.MessageProducer<T>
-
-