Class 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 type EventBusSinkManager.CodecAwareMessageProducer will be serialisable using the default Codec.
    • Field Detail

      • delegated

        private final io.vertx.core.eventbus.MessageProducer<T> delegated
    • Constructor Detail

      • CodecAwareMessageProducer

        private CodecAwareMessageProducer()
    • Method Detail

      • deliveryOptions

        public io.vertx.core.eventbus.MessageProducer<T> deliveryOptions​(io.vertx.core.eventbus.DeliveryOptions deliveryOptions)
        Specified by:
        deliveryOptions in interface io.vertx.core.eventbus.MessageProducer<T>
      • address

        public String address()
        Specified by:
        address in interface io.vertx.core.eventbus.MessageProducer<T>
      • write

        public void write​(T t,
                          io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        Specified by:
        write in interface io.vertx.core.eventbus.MessageProducer<T>
      • write

        public io.vertx.core.Future<Void> write​(T t)
        Specified by:
        write in interface io.vertx.core.eventbus.MessageProducer<T>
      • close

        public io.vertx.core.Future<Void> close()
        Specified by:
        close in interface io.vertx.core.eventbus.MessageProducer<T>
      • close

        public void close​(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        Specified by:
        close in interface io.vertx.core.eventbus.MessageProducer<T>