public interface ReservationChargingInstance extends ChargingInstance
Modifier and Type | Interface and Description |
---|---|
static class |
ReservationChargingInstance.CreditResultExecutionPhase |
ChargingInstance.ChargingType, ChargingInstance.Instruction, ChargingInstance.State
Modifier and Type | Method and Description |
---|---|
void |
doCreditFinalisation(ReportingReason reason)
Instructs the core to finalise the current charging session if a session is active, and call the feature if response-CCA arrives.
|
void |
doCreditReservation(ReportingReason reason,
ReservationChargingInstance.CreditResultExecutionPhase phase)
Instructs the charging instance to initiate a credit reservation, send an update or perform a reauthorisation
|
void |
doCreditReservation(ReservationChargingInstance.CreditResultExecutionPhase phase)
Instructs the charging instance to initiate a credit reservation, send an update or perform a reauthorisation
|
clearInstruction, getChargingState, getChargingType, getName, getPendingChargingInstruction, getPendingReportingReason, getSessionCounters, isCreditCheckInProgress, isSuspended, resume, suspend
void doCreditReservation(ReportingReason reason, ReservationChargingInstance.CreditResultExecutionPhase phase) throws InstructionAlreadyPendingException, ChargingInstanceAlreadyFinalisedException, CreditCheckAlreadyInProgressException
reason
- Reason for credit reservation.phase
- The phase in which the Post CC execution point should be raisedInstructionAlreadyPendingException
- if there is already an instruction pendingChargingInstanceAlreadyFinalisedException
- if the charging instance is already finalised.CreditCheckAlreadyInProgressException
void doCreditReservation(ReservationChargingInstance.CreditResultExecutionPhase phase) throws InstructionAlreadyPendingException, ChargingInstanceAlreadyFinalisedException, CreditCheckAlreadyInProgressException
phase
- The phase in which the Post CC execution point should be raisedInstructionAlreadyPendingException
- if there is already an instruction pendingChargingInstanceAlreadyFinalisedException
- if the charging instance is already finalised.CreditCheckAlreadyInProgressException
- if there is already a credit check in progressvoid doCreditFinalisation(ReportingReason reason) throws InstructionAlreadyPendingException, ChargingInstanceAlreadyFinalisedException, CreditCheckAlreadyInProgressException
reason
- Reason for credit finalisation.InstructionAlreadyPendingException
- if there is already an instruction pendingChargingInstanceAlreadyFinalisedException
- if the charging instance is already finalised.CreditCheckAlreadyInProgressException
- if there is already a credit check in progress.Copyright © OpenCloud. All Rights Reserved.