Class ProxyHandler

    • Constructor Detail

      • ProxyHandler

        public ProxyHandler()
    • Method Detail

      • close

        public void close()
      • register

        public MessageConsumer<JsonObject> register​(EventBus eventBus,
                                                    String address)
        Register the proxy handle on the event bus.
        Parameters:
        eventBus - the event bus
        address - the proxy address
      • register

        public MessageConsumer<JsonObject> register​(Vertx vertx,
                                                    String address,
                                                    List<io.vertx.serviceproxy.impl.InterceptorHolder> interceptorHolders)
        Register the proxy handle on the event bus.
        Parameters:
        vertx - the VertX instance
        address - the proxy address
        interceptorHolders - the interceptorHolders
      • registerLocal

        public MessageConsumer<JsonObject> registerLocal​(EventBus eventBus,
                                                         String address)
        Register the local proxy handle on the event bus. The registration will not be propagated to other nodes in the cluster.
        Parameters:
        eventBus - the event bus
        address - the proxy address
      • registerLocal

        public MessageConsumer<JsonObject> registerLocal​(Vertx vertx,
                                                         String address,
                                                         List<io.vertx.serviceproxy.impl.InterceptorHolder> interceptorHolders)
        Register the local proxy handle on the event bus. The registration will not be propagated to other nodes in the cluster.
        Parameters:
        vertx - the VertX instance
        address - the proxy address
        interceptorHolders - the InterceptorHolder interceptorHolders