ServiceBinder and ServiceProxyBuilder@Deprecated public class ProxyHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_CONNECTION_TIMEOUT
Deprecated.
|
| Constructor and Description |
|---|
ProxyHelper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
createProxy(Class<T> clazz,
Vertx vertx,
String address)
Deprecated.
use instead
ServiceProxyBuilder |
static <T> T |
createProxy(Class<T> clazz,
Vertx vertx,
String address,
DeliveryOptions options)
Deprecated.
use instead
ServiceProxyBuilder |
static <T> MessageConsumer<JsonObject> |
registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
registerService(Class<T> clazz,
Vertx vertx,
T service,
String address)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static void |
unregisterService(MessageConsumer<JsonObject> consumer)
Deprecated.
|
public static final long DEFAULT_CONNECTION_TIMEOUT
@Deprecated public static <T> T createProxy(Class<T> clazz, Vertx vertx, String address)
ServiceProxyBuilder@Deprecated public static <T> T createProxy(Class<T> clazz, Vertx vertx, String address, DeliveryOptions options)
ServiceProxyBuilder@Deprecated public static <T> MessageConsumer<JsonObject> registerService(Class<T> clazz, Vertx vertx, T service, String address)
ServiceBinderT - the type of the service interfaceclazz - the service class (interface)vertx - the vert.x instanceservice - the service objectaddress - the address on which the service is published@Deprecated public static <T> MessageConsumer<JsonObject> registerService(Class<T> clazz, Vertx vertx, T service, String address, long timeoutSeconds)
ServiceBinder@Deprecated public static <T> MessageConsumer<JsonObject> registerService(Class<T> clazz, Vertx vertx, T service, String address, boolean topLevel, long timeoutSeconds)
ServiceBinder@Deprecated public static <T> MessageConsumer<JsonObject> registerLocalService(Class<T> clazz, Vertx vertx, T service, String address)
ServiceBinderT - the type of the service interfaceclazz - the service class (interface)vertx - the vert.x instanceservice - the service objectaddress - the address on which the service is published@Deprecated public static <T> MessageConsumer<JsonObject> registerLocalService(Class<T> clazz, Vertx vertx, T service, String address, long timeoutSeconds)
ServiceBinder@Deprecated public static <T> MessageConsumer<JsonObject> registerLocalService(Class<T> clazz, Vertx vertx, T service, String address, boolean topLevel, long timeoutSeconds)
ServiceBinder@Deprecated public static void unregisterService(MessageConsumer<JsonObject> consumer)
MessageConsumer.unregister()consumer - the consumer returned by registerService(Class, Vertx, Object, String).Copyright © 2021 Eclipse. All rights reserved.