ServiceBinder
@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.
|
static <T> T |
createProxy(Class<T> clazz,
Vertx vertx,
String address,
DeliveryOptions options)
Deprecated.
|
static <T> MessageConsumer<JsonObject> |
registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address)
Deprecated.
Registers a local service on the event bus.
|
static <T> MessageConsumer<JsonObject> |
registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
|
static <T> MessageConsumer<JsonObject> |
registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
|
static <T> MessageConsumer<JsonObject> |
registerService(Class<T> clazz,
Vertx vertx,
T service,
String address)
Deprecated.
Registers a service on the event bus.
|
static <T> MessageConsumer<JsonObject> |
registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
|
static <T> MessageConsumer<JsonObject> |
registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
|
static void |
unregisterService(MessageConsumer<JsonObject> consumer)
Deprecated.
Unregisters a published service.
|
public static final long DEFAULT_CONNECTION_TIMEOUT
public static <T> T createProxy(Class<T> clazz, Vertx vertx, String address)
public static <T> T createProxy(Class<T> clazz, Vertx vertx, String address, DeliveryOptions options)
public static <T> MessageConsumer<JsonObject> registerService(Class<T> clazz, Vertx vertx, T service, String address)
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 publishedpublic static <T> MessageConsumer<JsonObject> registerService(Class<T> clazz, Vertx vertx, T service, String address, long timeoutSeconds)
public static <T> MessageConsumer<JsonObject> registerService(Class<T> clazz, Vertx vertx, T service, String address, boolean topLevel, long timeoutSeconds)
public static <T> MessageConsumer<JsonObject> registerLocalService(Class<T> clazz, Vertx vertx, T service, String address)
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 publishedpublic static <T> MessageConsumer<JsonObject> registerLocalService(Class<T> clazz, Vertx vertx, T service, String address, long timeoutSeconds)
public static <T> MessageConsumer<JsonObject> registerLocalService(Class<T> clazz, Vertx vertx, T service, String address, boolean topLevel, long timeoutSeconds)
public static void unregisterService(MessageConsumer<JsonObject> consumer)
consumer
- the consumer returned by registerService(Class, Vertx, Object, String)
.Copyright © 2024 Eclipse. All rights reserved.