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
|
void |
enableReplication()
Enables persistent state replication for the underlying Diameter
Activity.
|
java.lang.String |
getOwner()
Gets the URI string of the node that currently owns this instance.
|
java.lang.String |
getTrackingKey()
Gets the tracking key of the charging session for this instance.
|
void |
setOwner(java.lang.String ownerUri)
Sets the URI string of the node that currently owns this instance.
|
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.java.lang.String getTrackingKey()
void enableReplication()
java.lang.String getOwner()
void setOwner(java.lang.String ownerUri)
ownerUri
- The URI string for the new owner for this instance.Copyright © OpenCloud. All Rights Reserved.