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,
io.vertx.core.Vertx vertx,
String address)
Deprecated.
use instead
ServiceProxyBuilder |
static <T> T |
createProxy(Class<T> clazz,
io.vertx.core.Vertx vertx,
String address,
io.vertx.core.eventbus.DeliveryOptions options)
Deprecated.
use instead
ServiceProxyBuilder |
static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> |
registerLocalService(Class<T> clazz,
io.vertx.core.Vertx vertx,
T service,
String address)
Deprecated.
use instead
ServiceBinder |
static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> |
registerLocalService(Class<T> clazz,
io.vertx.core.Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> |
registerLocalService(Class<T> clazz,
io.vertx.core.Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> |
registerService(Class<T> clazz,
io.vertx.core.Vertx vertx,
T service,
String address)
Deprecated.
use instead
ServiceBinder |
static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> |
registerService(Class<T> clazz,
io.vertx.core.Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> |
registerService(Class<T> clazz,
io.vertx.core.Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static void |
unregisterService(io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> consumer)
Deprecated.
use
MessageConsumer.unregister() |
public static final long DEFAULT_CONNECTION_TIMEOUT
@Deprecated public static <T> T createProxy(Class<T> clazz, io.vertx.core.Vertx vertx, String address)
ServiceProxyBuilder
@Deprecated public static <T> T createProxy(Class<T> clazz, io.vertx.core.Vertx vertx, String address, io.vertx.core.eventbus.DeliveryOptions options)
ServiceProxyBuilder
@Deprecated public static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> registerService(Class<T> clazz, io.vertx.core.Vertx vertx, T service, String address)
ServiceBinder
T
- 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> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> registerService(Class<T> clazz, io.vertx.core.Vertx vertx, T service, String address, long timeoutSeconds)
ServiceBinder
@Deprecated public static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> registerService(Class<T> clazz, io.vertx.core.Vertx vertx, T service, String address, boolean topLevel, long timeoutSeconds)
ServiceBinder
@Deprecated public static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> registerLocalService(Class<T> clazz, io.vertx.core.Vertx vertx, T service, String address)
ServiceBinder
T
- 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> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> registerLocalService(Class<T> clazz, io.vertx.core.Vertx vertx, T service, String address, long timeoutSeconds)
ServiceBinder
@Deprecated public static <T> io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> registerLocalService(Class<T> clazz, io.vertx.core.Vertx vertx, T service, String address, boolean topLevel, long timeoutSeconds)
ServiceBinder
@Deprecated public static void unregisterService(io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> consumer)
MessageConsumer.unregister()
consumer
- the consumer returned by registerService(Class, Vertx, Object, String)
.Copyright © 2021 Eclipse. All rights reserved.