Class DefaultInfoService
-
- All Implemented Interfaces:
-
de.jnkconsulting.e3dc.easyrscp.api.service.InfoService
public final class DefaultInfoService implements InfoServiceDefault implementation of the InfoService
- Since:
2.0
-
-
Constructor Summary
Constructors Constructor Description DefaultInfoService(ConnectionPool connectionPool, FrameConverter<SystemInfo> convertFrameToSystemInfo, FrameCreator<Void> createReadSystemInfoFrame)
-
Method Summary
Modifier and Type Method Description SystemInforeadSystemInfo()-
-
Constructor Detail
-
DefaultInfoService
DefaultInfoService(ConnectionPool connectionPool, FrameConverter<SystemInfo> convertFrameToSystemInfo, FrameCreator<Void> createReadSystemInfoFrame)
- Parameters:
connectionPool- ConnectionPool to useconvertFrameToSystemInfo- Converter to create a SystemInfo object from a frame.createReadSystemInfoFrame- Creator for frames to query some basic system informations about the home power plant.
-
-
Method Detail
-
readSystemInfo
SystemInfo readSystemInfo()
-
-
-
-