public abstract class ProxyHandler extends Object implements Handler<Message<JsonObject>>
Modifier and Type | Field and Description |
---|---|
protected boolean |
closed |
protected MessageConsumer<JsonObject> |
consumer |
Constructor and Description |
---|
ProxyHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
MessageConsumer<JsonObject> |
register(EventBus eventBus,
String address)
Register the proxy handle on the event bus.
|
MessageConsumer<JsonObject> |
register(Vertx vertx,
String address,
List<io.vertx.serviceproxy.impl.InterceptorHolder> interceptorHolders)
Register the proxy handle on the event bus.
|
MessageConsumer<JsonObject> |
registerLocal(EventBus eventBus,
String address)
Register the local proxy handle on the event bus.
|
MessageConsumer<JsonObject> |
registerLocal(Vertx vertx,
String address,
List<io.vertx.serviceproxy.impl.InterceptorHolder> interceptorHolders)
Register the local proxy handle on the event bus.
|
protected boolean closed
protected MessageConsumer<JsonObject> consumer
public void close()
public MessageConsumer<JsonObject> register(EventBus eventBus, String address)
eventBus
- the event busaddress
- the proxy addresspublic MessageConsumer<JsonObject> register(Vertx vertx, String address, List<io.vertx.serviceproxy.impl.InterceptorHolder> interceptorHolders)
vertx
- the VertX instanceaddress
- the proxy addressinterceptorHolders
- the interceptorHolderspublic MessageConsumer<JsonObject> registerLocal(EventBus eventBus, String address)
eventBus
- the event busaddress
- the proxy addresspublic MessageConsumer<JsonObject> registerLocal(Vertx vertx, String address, List<io.vertx.serviceproxy.impl.InterceptorHolder> interceptorHolders)
vertx
- the VertX instanceaddress
- the proxy addressinterceptorHolders
- the InterceptorHolder
interceptorHoldersCopyright © 2023 Eclipse. All rights reserved.