public class MailServiceVertxProxyHandler extends ProxyHandler
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_CONNECTION_TIMEOUT |
closed, consumer| Constructor and Description |
|---|
MailServiceVertxProxyHandler(Vertx vertx,
MailService service) |
MailServiceVertxProxyHandler(Vertx vertx,
MailService service,
boolean topLevel,
long timeoutSeconds) |
MailServiceVertxProxyHandler(Vertx vertx,
MailService service,
long timeoutInSecond) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
handle(Message<JsonObject> msg)
Something has happened, so handle it.
|
MessageConsumer<JsonObject> |
registerHandler(String address)
Register the proxy handle on the event bus.
|
setConsumerpublic static final long DEFAULT_CONNECTION_TIMEOUT
public MailServiceVertxProxyHandler(Vertx vertx, MailService service)
public MailServiceVertxProxyHandler(Vertx vertx, MailService service, long timeoutInSecond)
public MailServiceVertxProxyHandler(Vertx vertx, MailService service, boolean topLevel, long timeoutSeconds)
public MessageConsumer<JsonObject> registerHandler(String address)
ProxyHandlerregisterHandler in class ProxyHandleraddress - the proxy addresspublic void close()
close in class ProxyHandlerpublic void handle(Message<JsonObject> msg)
Handlermsg - the event to handleCopyright © 2016. All rights reserved.