Verticle
Verticles are the "building blocks," so to speak, of the Vert.x framework.
Basic mechanism
Verticles are, essentially, modular blocks of code that fulfill a specific function.
They get triggered by either something external or another Verticle and can, in turn, also trigger other Verticles.
Verticles communicate with each other using messages on the so-called Event Bus.
You can think about Verticles as processes in a data flow diagram:
Here, processes are Verticles and the data between them are messages on the Event Bus.
Example Code
import de.wuespace.telestion.api.verticle.NoConfiguration;
import de.wuespace.telestion.api.verticle.TelestionVerticle;
public class MyVerticle extends TelestionVerticle<NoConfiguration> {
// Called when Verticle is deployed
@Override
public void onStart() {
}
// Optional - called when Verticle is undeployed
@Override
public void onStop() {
}
}