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(EventBus eventBus,
String address,
List<java.util.function.Function<Message<JsonObject>,Future<Message<JsonObject>>>> interceptors)
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(EventBus eventBus,
String address,
List<java.util.function.Function<Message<JsonObject>,Future<Message<JsonObject>>>> interceptors)
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> registerLocal(EventBus eventBus, String address)
eventBus
- the event busaddress
- the proxy addresspublic MessageConsumer<JsonObject> register(EventBus eventBus, String address, List<java.util.function.Function<Message<JsonObject>,Future<Message<JsonObject>>>> interceptors)
eventBus
- the event busaddress
- the proxy addressinterceptors
- the interceptorspublic MessageConsumer<JsonObject> registerLocal(EventBus eventBus, String address, List<java.util.function.Function<Message<JsonObject>,Future<Message<JsonObject>>>> interceptors)
eventBus
- the event busaddress
- the proxy addressinterceptors
- the interceptorsCopyright © 2022 Eclipse. All rights reserved.