Class CreditControlFailureHandling

  • All Implemented Interfaces:
    Serializable, Enumerated

    public class CreditControlFailureHandling
    extends Object
    implements Serializable, Enumerated
    Java class to represent the CreditControlFailureHandling enumerated type.

    Documentation from the relevant specification:

    The Credit-Control-Failure-Handling AVP (AVP Code 427) is of type Enumerated. The credit-control client uses information in this AVP to decide what to do if sending credit-control messages to the credit-control server has been, for instance, temporarily prevented due to a network problem. Depending on the service logic, the credit-control server can order the client to terminate the service immediately when there is a reason to believe that the service cannot be charged, or to try failover to an alternative server, if possible. Then the server could either terminate or grant the service, should the alternative connection also fail.

    Author:
    Open Cloud
    See Also:
    Serialized Form
    • Field Detail

      • TERMINATE

        public static final CreditControlFailureHandling TERMINATE
        When the Credit-Control-Failure-Handling AVP is set to TERMINATE, the service MUST only be granted for as long as there is a connection to the credit-control server. If the credit-control client does not receive any Credit-Control-Answer message within the Tx timer (as defined in section 13), the credit-control request is regarded as failed, and the end user's service session is terminated. This is the default behavior if the AVP isn't included in the reply from the authorization or credit-control server.
      • CONTINUE

        public static final CreditControlFailureHandling CONTINUE
        When the Credit-Control-Failure-Handling AVP is set to CONTINUE, the credit-control client SHOULD re-send the request to an alternative server in the case of transport or temporary failures, provided that a failover procedure is supported in the credit- control server and the credit-control client, and that an alternative server is available. Otherwise, the service SHOULD be granted, even if credit-control messages can't be delivered.
      • RETRY_AND_TERMINATE

        public static final CreditControlFailureHandling RETRY_AND_TERMINATE
        When the Credit-Control-Failure-Handling AVP is set to RETRY_AND_TERMINATE, the credit-control client SHOULD re-send the request to an alternative server in the case of transport or temporary failures, provided that a failover procedure is supported in the credit-control server and the credit-control client, and that an alternative server is available. Otherwise, the service SHOULD not be granted when the credit-control messages can't be delivered.