Class CcRequestType

  • All Implemented Interfaces:
    Serializable, Enumerated

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

    Documentation from the relevant specification:

    The CC-Request-Type AVP (AVP Code 416) is of type Enumerated and contains the reason for sending the credit-control request message. It MUST be present in all Credit-Control-Request messages.

    Open Cloud
    See Also:
    Serialized Form
    • Field Detail


        public static final CcRequestType INITIAL_REQUEST
        An Initial request is used to initiate a credit-control session, and contains credit control information that is relevant to the initiation.

        public static final CcRequestType UPDATE_REQUEST
        An Update request contains credit-control information for an existing credit-control session. Update credit-control requests SHOULD be sent every time a credit-control re-authorization is needed at the expiry of the allocated quota or validity time. Further, additional service-specific events MAY trigger a spontaneous Update request.

        public static final CcRequestType TERMINATION_REQUEST
        A Termination request is sent to terminate a credit-control session and contains credit-control information relevant to the existing session.

        public static final CcRequestType EVENT_REQUEST
        An Event request is used when there is no need to maintain any credit-control session state in the credit-control server. This request contains all information relevant to the service, and is the only request of the service. The reason for the Event request is further detailed in the Requested-Action AVP. The Requested- Action AVP MUST be included in the Credit-Control-Request message when CC-Request-Type is set to EVENT_REQUEST.
    • 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