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
Nested ClassesModifier and TypeClassDescriptionstatic classConfiguration with which this factory can create all modules for a functioning MavlinkAdapter. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterNew(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-EventBuson which the modules should be registeredconfig- which specifies all necessary details for a MavlinkAdapter
-