Class FinalUnitAction

  • All Implemented Interfaces:
    Serializable, Enumerated

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

    Documentation from the relevant specification:

    The Final-Unit-Action AVP (AVP Code 449) is of type Enumerated and indicates to the credit-control client the action to be taken when the user's account cannot cover the service cost.

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

      • TERMINATE

        public static final FinalUnitAction TERMINATE
        The credit-control client MUST terminate the service session. This is the default handling, applicable whenever the credit- control client receives an unsupported Final-Unit-Action value, and it MUST be supported by all the Diameter credit-control client implementations conforming to this specification.
      • REDIRECT

        public static final FinalUnitAction REDIRECT
        The service element MUST redirect the user to the address specified in the Redirect-Server-Address AVP. The redirect action is defined in section 5.6.2.
      • RESTRICT_ACCESS

        public static final FinalUnitAction RESTRICT_ACCESS
        The access device MUST restrict the user access according to the IP packet filters defined in the Restriction-Filter-Rule AVP or according to the IP packet filters identified by the Filter-Id AVP. All the packets not matching the filters MUST be dropped (see section 5.6.3).
    • Method Detail

      • getValue

        public int getValue()
        Description copied from interface: Enumerated
        Return the value of this instance of this enumerated type.
        Specified by:
        getValue in interface Enumerated
        Returns:
        value