net.java.slee.resource.diameter.ro.events.avp
Class ReportingReason

java.lang.Object
  extended by net.java.slee.resource.diameter.ro.events.avp.ReportingReason
All Implemented Interfaces:
java.io.Serializable, net.java.slee.resource.diameter.base.events.avp.Enumerated

public class ReportingReason
extends java.lang.Object
implements net.java.slee.resource.diameter.base.events.avp.Enumerated, java.io.Serializable

Java class to represent the ReportingReason enumerated type.

Author:
Alexandre Mendonca , Bartosz Baranowski
See Also:
Serialized Form

Field Summary
static int _FINAL
           
static int _FORCED_REAUTHORISATION
           
static int _OTHER_QUOTA_TYPE
           
static int _POOL_EXHAUSTED
           
static int _QHT
           
static int _QUOTA_EXHAUSTED
           
static int _RATING_CONDITION_CHANGE
           
static int _THRESHOLD
           
static int _VALIDITY_TIME
           
static ReportingReason FINAL
          This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that a normal PDP context termination has happened.
static ReportingReason FORCED_REAUTHORISATION
          This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that it is there has been a Server initiated re- authorisation procedure, i.e.
static ReportingReason OTHER_QUOTA_TYPE
          This value is used to indicate that the reason for usage reporting of the particular quota type indicated in the Used-Service-Units AVP where it appears is that, for a multi-dimensional quota, one reached a trigger condition and the other quota is being reported.
static ReportingReason POOL_EXHAUSTED
          This value is used to indicate that the reason for usage reporting of the particular quota type indicated in the User-Service-Units AVP where it appears is that granted units are still available in the pool but are not sufficient for a rating group using the pool.
static ReportingReason QHT
          This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that the quota holding time specified in a previous CCA command has been hit (i.e.
static ReportingReason QUOTA_EXHAUSTED
          This value is used to indicate that the reason for usage reporting of the particular quota type indicated in the Used-Service-Units AVP where it appears is that the quota has been exhausted.
static ReportingReason RATING_CONDITION_CHANGE
          This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that a change has happened in some of the rating conditions that were previously armed (through the Trigger-Type AVP, e.g.
static ReportingReason THRESHOLD
          This value is used to indicate that the reason for usage reporting of the particular quota type indicated in the Used-Service-Units AVP where it appears is that the threshold has been reached.
static ReportingReason VALIDITY_TIME
          This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that the credit authorization lifetime provided in the Validity-Time AVP has expired.
 
Method Summary
static ReportingReason fromInt(int type)
          Return the value of this instance of this enumerated type.
 int getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_FINAL

public static final int _FINAL
See Also:
Constant Field Values

_FORCED_REAUTHORISATION

public static final int _FORCED_REAUTHORISATION
See Also:
Constant Field Values

_OTHER_QUOTA_TYPE

public static final int _OTHER_QUOTA_TYPE
See Also:
Constant Field Values

_POOL_EXHAUSTED

public static final int _POOL_EXHAUSTED
See Also:
Constant Field Values

_QHT

public static final int _QHT
See Also:
Constant Field Values

_QUOTA_EXHAUSTED

public static final int _QUOTA_EXHAUSTED
See Also:
Constant Field Values

_RATING_CONDITION_CHANGE

public static final int _RATING_CONDITION_CHANGE
See Also:
Constant Field Values

_THRESHOLD

public static final int _THRESHOLD
See Also:
Constant Field Values

_VALIDITY_TIME

public static final int _VALIDITY_TIME
See Also:
Constant Field Values

FINAL

public static final ReportingReason FINAL
This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that a normal PDP context termination has happened.


FORCED_REAUTHORISATION

public static final ReportingReason FORCED_REAUTHORISATION
This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that it is there has been a Server initiated re- authorisation procedure, i.e. receipt of RAR command


OTHER_QUOTA_TYPE

public static final ReportingReason OTHER_QUOTA_TYPE
This value is used to indicate that the reason for usage reporting of the particular quota type indicated in the Used-Service-Units AVP where it appears is that, for a multi-dimensional quota, one reached a trigger condition and the other quota is being reported.


POOL_EXHAUSTED

public static final ReportingReason POOL_EXHAUSTED
This value is used to indicate that the reason for usage reporting of the particular quota type indicated in the User-Service-Units AVP where it appears is that granted units are still available in the pool but are not sufficient for a rating group using the pool.


QHT

public static final ReportingReason QHT
This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that the quota holding time specified in a previous CCA command has been hit (i.e. the quota has been unused for that period of time).


QUOTA_EXHAUSTED

public static final ReportingReason QUOTA_EXHAUSTED
This value is used to indicate that the reason for usage reporting of the particular quota type indicated in the Used-Service-Units AVP where it appears is that the quota has been exhausted.


RATING_CONDITION_CHANGE

public static final ReportingReason RATING_CONDITION_CHANGE
This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that a change has happened in some of the rating conditions that were previously armed (through the Trigger-Type AVP, e.g. QoS, Radio Access Technology,???). The specific condition that has changed is indicated in an associated Trigger-Type AVP.


THRESHOLD

public static final ReportingReason THRESHOLD
This value is used to indicate that the reason for usage reporting of the particular quota type indicated in the Used-Service-Units AVP where it appears is that the threshold has been reached.


VALIDITY_TIME

public static final ReportingReason VALIDITY_TIME
This value is used to indicate that the reason for usage reporting of all quota types of the Multiple-Service-Credit-Control AVP where its appears is that the credit authorization lifetime provided in the Validity-Time AVP has expired.

Method Detail

fromInt

public static ReportingReason fromInt(int type)
Return the value of this instance of this enumerated type.


getValue

public int getValue()
Specified by:
getValue in interface net.java.slee.resource.diameter.base.events.avp.Enumerated

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.