public interface ChargingManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_NAME_KEY
ChargingManager component name key, used in
FailedInstruction . |
static java.lang.String |
COMPONENT_TYPE_NAME
ChargingManager component type value, used in
FailedInstruction . |
static java.lang.String |
REQUEST_TYPE_KEY
Request Type key, used in
FailedInstruction . |
Modifier and Type | Method and Description |
---|---|
ImmediateChargingInstance |
createImmediateChargingInstance(java.lang.String name)
Create a new Immediate Charging Instance in the ChargingManager.
|
ReservationChargingInstance |
createReservationInstance(java.lang.String name)
Create a new ReservationChargingInstance in the ChargingManager.
|
void |
enableSessionReplication()
Enable session replication for all ReservationChargingInstances
|
ChargingInstance |
getChargingInstance(java.lang.String name)
Determine the charging instance which the ChargingManager holds for a name for this session or null
if there is no such instance.
|
java.util.Collection<ChargingInstance> |
getChargingInstances()
Returns Collection of managed Charging Instances for this Sentinel Session.
|
void |
startReplicatingIfEnabled()
Start replicating any charging instances that connected to an OCS since
replication was enabled
|
static final java.lang.String COMPONENT_TYPE_NAME
FailedInstruction
.static final java.lang.String COMPONENT_NAME_KEY
FailedInstruction
.static final java.lang.String REQUEST_TYPE_KEY
FailedInstruction
.ReservationChargingInstance createReservationInstance(java.lang.String name) throws DuplicateNameException
name
- the name must be unique for this Sentinel session. Names are case sensitive.DuplicateNameException
- If charging instance already exists with the supplied name.ImmediateChargingInstance createImmediateChargingInstance(java.lang.String name) throws DuplicateNameException
name
- the name must be unique for this Sentinel session. Names are case sensitive.DuplicateNameException
- If charging instance already exists with the supplied name.ChargingInstance getChargingInstance(java.lang.String name)
name
- Unique name associated with the ChargingInstance
.java.util.Collection<ChargingInstance> getChargingInstances()
ChargingInstance
s.void enableSessionReplication()
void startReplicatingIfEnabled()
Copyright © OpenCloud. All Rights Reserved.