Interface ChargePointManager

All Superinterfaces:
net.solarnetwork.service.Identifiable

public interface ChargePointManager extends net.solarnetwork.service.Identifiable
This API represents the set of functionality required by an OCPP Central System to manage a set of Charge Point clients.
Version:
2.0
Author:
matt
  • Method Details

    • registerChargePoint

      ChargePoint registerChargePoint(ChargePointIdentity identity, ChargePointInfo info)
      Register (or re-register) a Charge Point.

      This method can be called by a Charge Point that wants to self-register, for example via a BootNotification request, or by an administration tool to create a new Charge Point entity.

      Parameters:
      identity - the client ID making the request
      info - the details to register
      Returns:
      the resulting charge point, never null
    • isChargePointRegistrationAccepted

      boolean isChargePointRegistrationAccepted(long chargePointId)
      Test if a Charge Point's registration has been accepted.
      Parameters:
      chargePointId - the Charge Point ID
      Returns:
      true if the Charge Point has previously been registered, is not disabled, and has a status of RegistrationStatus.Accepted
    • updateChargePointStatus

      void updateChargePointStatus(ChargePointIdentity identity, StatusNotification info)
      Update the status of a Charge Point or specific connector.
      Parameters:
      identity - the charge point to update
      info - the status update info