public class MailServiceVertxProxyHandler
extends io.vertx.serviceproxy.ProxyHandler
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_CONNECTION_TIMEOUT |
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) |
public 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)
registerHandler
in class io.vertx.serviceproxy.ProxyHandler
public void close()
close
in class io.vertx.serviceproxy.ProxyHandler
public void handle(Message<JsonObject> msg)
Handler
msg
- the event to handleCopyright © 2015. All Rights Reserved.