Interface InitializerRegistry
-
@DoNotImplement public interface InitializerRegistry
- Since:
- 4.0.0, CE 2019.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setClientInitializer(@NotNull ClientInitializer initializer)
Each connecting and connected MQTT client will be initialized by this initializer, as soon as the extension is enabled and running.
-
-
-
Method Detail
-
setClientInitializer
void setClientInitializer(@NotNull ClientInitializer initializer)
Each connecting and connected MQTT client will be initialized by this initializer, as soon as the extension is enabled and running.When the extension stops, its context will be removed from every client.
The
ClientInitializer
and itsClientInitializer.initialize(InitializerInput, ClientContext)
method must be implemented by the extension developer. If there is already an initializer present, it will be overwritten.- Parameters:
initializer
- The initializer to set.- Throws:
NullPointerException
- If the initializer is null.- Since:
- 4.0.0, CE 2019.1
-
-