net.java.slee.resource.diameter.cca.events.avp
Enum MultipleServicesIndicatorType

java.lang.Object
  extended by java.lang.Enum<MultipleServicesIndicatorType>
      extended by net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MultipleServicesIndicatorType>, net.java.slee.resource.diameter.base.events.avp.Enumerated

public enum MultipleServicesIndicatorType
extends java.lang.Enum<MultipleServicesIndicatorType>
implements net.java.slee.resource.diameter.base.events.avp.Enumerated

 8.40. Multiple-Services-Indicator AVP


   The Multiple-Services-Indicator AVP (AVP Code 455) is of type
   Enumerated and indicates whether the Diameter credit-control client
   is capable of handling multiple services independently within a
   (sub-) session.  The absence of this AVP means that independent
   credit-control of multiple services is not supported.

   A server not implementing the independent credit-control of multiple
   services MUST treat the Multiple-Services-Indicator AVP as an invalid
   AVP.

   The following values are defined for the Multiple-Services-Indicator
   AVP:

   MULTIPLE_SERVICES_NOT_SUPPORTED 0
      Client does not support independent credit-control of multiple
      services within a (sub-)session.

   MULTIPLE_SERVICES_SUPPORTED     1
      Client supports independent credit-control of multiple services
      within a (sub-)session.
      
      

Author:
Bartosz Baranowski , Alexandre Mendonca

Enum Constant Summary
MULTIPLE_SERVICES_NOT_SUPPORTED
           
MULTIPLE_SERVICES_SUPPORTED
           
 
Method Summary
static MultipleServicesIndicatorType fromInt(int type)
           
 int getValue()
           
static MultipleServicesIndicatorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MultipleServicesIndicatorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MULTIPLE_SERVICES_NOT_SUPPORTED

public static final MultipleServicesIndicatorType MULTIPLE_SERVICES_NOT_SUPPORTED

MULTIPLE_SERVICES_SUPPORTED

public static final MultipleServicesIndicatorType MULTIPLE_SERVICES_SUPPORTED
Method Detail

values

public static MultipleServicesIndicatorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MultipleServicesIndicatorType c : MultipleServicesIndicatorType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MultipleServicesIndicatorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

fromInt

public static MultipleServicesIndicatorType fromInt(int type)
                                             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getValue

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


Copyright © 2012. All Rights Reserved.