Package de.wuespace.telestion.examples
Class SayHello
java.lang.Object
io.vertx.core.AbstractVerticle
de.wuespace.telestion.api.verticle.TelestionVerticle<SayHello.Configuration>
de.wuespace.telestion.examples.SayHello
- All Implemented Interfaces:
WithTiming
,io.vertx.core.Verticle
A class which says hello and shows the usage of configuration files.
-
Nested Class Summary
-
Field Summary
Fields inherited from class de.wuespace.telestion.api.verticle.TelestionVerticle
logger
Fields inherited from class io.vertx.core.AbstractVerticle
context, vertx
-
Constructor Summary
-
Method Summary
Methods inherited from class de.wuespace.telestion.api.verticle.TelestionVerticle
config, getConfig, getConfigType, getDefaultConfig, getGenericConfig, getGenericDefaultConfig, onStart, onStop, onStop, setDefaultConfig, setDefaultConfig, start, start, stop, stop
Methods inherited from class io.vertx.core.AbstractVerticle
deploymentID, getVertx, init, processArgs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vertx.core.Verticle
getVertx, init, start, stop
Methods inherited from interface de.wuespace.telestion.api.verticle.trait.WithTiming
interval, interval, intervalStream, intervalStream, timeout, timeout, timeoutStream, timeoutStream
-
Constructor Details
-
SayHello
public SayHello()
-
-
Method Details
-
main
-
onStart
Description copied from class:TelestionVerticle
Starts the verticle.This is called by Vert.x when the verticle instance is deployed. Please don't call it yourself.
If your verticle needs a start routine which takes some time to finish, then complete the start promise some time later.
This is the asynchronous part to the
TelestionVerticle.onStart()
method.- Overrides:
onStart
in classTelestionVerticle<SayHello.Configuration>
- Parameters:
startPromise
- a promise which should be called when verticle start is complete
-