public abstract class Service
extends io.vertx.core.AbstractVerticle
| Constructor and Description |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fail(String action,
int code,
String message) |
protected <T> void |
reply(String action,
T message) |
protected abstract void |
setup(io.vertx.core.Vertx vertx)
Initialize
Vert.x-dependent dependencies here. |
void |
start() |
public void start()
throws Exception
start in class io.vertx.core.AbstractVerticleExceptionprotected abstract void setup(io.vertx.core.Vertx vertx)
Vert.x-dependent dependencies here. ie: PersistenceClientvertx - Reference to the Vert.x instance that deployed this verticle.protected <T> void reply(String action, T message)
Copyright © 2021. All rights reserved.