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
Nested Classes -
Field Summary
Fields inherited from class de.wuespace.telestion.api.verticle.TelestionVerticle
loggerFields inherited from class io.vertx.core.AbstractVerticle
context, vertx -
Constructor Summary
Constructors -
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, stopMethods inherited from class io.vertx.core.AbstractVerticle
deploymentID, getVertx, init, processArgsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.core.Verticle
getVertx, init, start, stopMethods 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:TelestionVerticleStarts 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:
onStartin classTelestionVerticle<SayHello.Configuration>- Parameters:
startPromise- a promise which should be called when verticle start is complete
-