Class DestinationFactory

java.lang.Object
io.vertx.rxjava3.ext.stomp.DestinationFactory
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class DestinationFactory extends Object implements io.vertx.lang.rx.RxDelegate
Interface implemented to customize the destination creation.

NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<DestinationFactory> __TYPE_ARG
  • Constructor Details

    • DestinationFactory

      public DestinationFactory(DestinationFactory delegate)
    • DestinationFactory

      public DestinationFactory(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDelegate

      public DestinationFactory getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • create

      public Destination create(Vertx vertx, String name)
      Creates a destination for the given address.
      Parameters:
      vertx - the vert.x instance used by the STOMP server.
      name - the destination name.
      Returns:
      the destination, null to reject the creation.
    • newInstance

      public static DestinationFactory newInstance(DestinationFactory arg)