Class ProxyHelper

    • Field Detail

      • DEFAULT_CONNECTION_TIMEOUT

        public static final long DEFAULT_CONNECTION_TIMEOUT
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProxyHelper

        public ProxyHelper()
        Deprecated.
    • Method Detail

      • createProxy

        public static <T> T createProxy​(Class<T> clazz,
                                        Vertx vertx,
                                        String address)
        Deprecated.
      • registerService

        public static <T> MessageConsumer<JsonObject> registerService​(Class<T> clazz,
                                                                      Vertx vertx,
                                                                      T service,
                                                                      String address)
        Deprecated.
        Registers a service on the event bus.
        Type Parameters:
        T - the type of the service interface
        Parameters:
        clazz - the service class (interface)
        vertx - the vert.x instance
        service - the service object
        address - the address on which the service is published
        Returns:
        the consumer used to unregister the service
      • registerLocalService

        public static <T> MessageConsumer<JsonObject> registerLocalService​(Class<T> clazz,
                                                                           Vertx vertx,
                                                                           T service,
                                                                           String address)
        Deprecated.
        Registers a local service on the event bus. The registration will not be propagated to other nodes in the cluster.
        Type Parameters:
        T - the type of the service interface
        Parameters:
        clazz - the service class (interface)
        vertx - the vert.x instance
        service - the service object
        address - the address on which the service is published
        Returns:
        the consumer used to unregister the service
      • registerLocalService

        public static <T> MessageConsumer<JsonObject> registerLocalService​(Class<T> clazz,
                                                                           Vertx vertx,
                                                                           T service,
                                                                           String address,
                                                                           boolean topLevel,
                                                                           long timeoutSeconds)
        Deprecated.