Class MavlinkAdapterFactory
java.lang.Object
de.wuespace.telestion.extension.mavlink.MavlinkAdapterFactory
A simple Factory which can create and register all necessary modules for a functioning MavlinkAdapter.
Although there is still the possibility of doing the work manually, it is recommended to use this designated
factory.
Part of a correctly working MavlinkAdapter are usually:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Configuration with which this factory can create all modules for a functioning MavlinkAdapter. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerNew(io.vertx.core.eventbus.EventBus bus, MavlinkAdapterFactory.Configuration config)
Creates all necessary parts for a functioning MavlinkAdapter and registers them on the bus.
-
Method Details
-
registerNew
public static void registerNew(io.vertx.core.eventbus.EventBus bus, MavlinkAdapterFactory.Configuration config)Creates all necessary parts for a functioning MavlinkAdapter and registers them on the bus.
Modules which will be created and registered:
- Parameters:
bus
-EventBus
on which the modules should be registeredconfig
- which specifies all necessary details for a MavlinkAdapter
-