LiveDataServiceBuilder

ServiceBuilder implementation that creates instances of the LiveDataService type.

The Builder offers optional extension points in frame conversion and frame generation:

Since

2.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Creates a new service instance

Link copied to clipboard
Link copied to clipboard
open override fun withConnectionBuilder(connectionBuilder: ConnectionBuilder): LiveDataServiceBuilder

Function is only overwritten to increase usability in java. Without that, the Java compiler would generate an error, because here a DefaultServiceBuilder instance is supplied and no LiveDataServiceBuilder instance ...

Link copied to clipboard

Sets the converter to create a PowerState object from a response frame. Optional setting. By default an instance of the type PowerStateConverter is used.

Link copied to clipboard

Sets the creator of request frames to load the current live data production data from the house power plant database. Optional setting. By default, an instance of the type RequestLiveDataCreator is used.