Class DefaultChargingService

  • All Implemented Interfaces:
    de.jnkconsulting.e3dc.easyrscp.api.service.ChargingService

    
    public final class DefaultChargingService
     implements ChargingService
                        

    Service implementation to read and control the charging behavior of the home power plant.

    Since:

    2.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ChargingConfiguration readConfiguration()
      WriteChargingLimitsResult writeLimits(ChargingLimits limits)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultChargingService

        DefaultChargingService(ConnectionPool connectionPool, FrameConverter<ChargingConfiguration> convertFrameToChargingConfiguration, FrameConverter<WriteChargingLimitsResult> convertFrameToWriteChargingLimitsResult, FrameCreator<Void> createRequestChargingConfigurationFrame, FrameCreator<ChargingLimits> createSetPowerSettingsFrame)
        Parameters:
        connectionPool - ConnectionPool to use
        convertFrameToChargingConfiguration - Converter to create a ChargingConfiguration object from a frame.
        convertFrameToWriteChargingLimitsResult - Converter to create a WriteChargingLimitsResult object from a frame.
        createRequestChargingConfigurationFrame - Creator for frames to query the configuration of the charging system from the home power plant.
        createSetPowerSettingsFrame - Creator for frames to query the configuration of the charging system from the home power plant.