Class SayHello

java.lang.Object
io.vertx.core.AbstractVerticle
All Implemented Interfaces:
WithTiming, io.vertx.core.Verticle

public final class SayHello extends TelestionVerticle<SayHello.Configuration> implements WithTiming
A class which says hello and shows the usage of configuration files.
  • Constructor Details

    • SayHello

      public SayHello()
  • Method Details

    • main

      public static void main(String[] args)
    • onStart

      public void onStart(io.vertx.core.Promise<Void> startPromise)
      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 class TelestionVerticle<SayHello.Configuration>
      Parameters:
      startPromise - a promise which should be called when verticle start is complete