Package net.solarnetwork.ocpp.service.cs
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
-
Field Summary
Fields inherited from interface net.solarnetwork.service.Identifiable
GROUP_UID_PROPERTY, UID_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionbooleanisChargePointRegistrationAccepted(long chargePointId) Test if a Charge Point's registration has been accepted.registerChargePoint(ChargePointIdentity identity, ChargePointInfo info) Register (or re-register) a Charge Point.voidupdateChargePointStatus(ChargePointIdentity identity, StatusNotification info) Update the status of a Charge Point or specific connector.Methods inherited from interface net.solarnetwork.service.Identifiable
getDisplayName, getGroupUid, getUid
-
Method Details
-
registerChargePoint
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 requestinfo- 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
Update the status of a Charge Point or specific connector.- Parameters:
identity- the charge point to updateinfo- the status update info
-