net.java.slee.resource.diameter.ro.events.avp
Enum MbmsUserDataModeIndication

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

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

Java class to represent the MBMS-2G-3G-Indicator enumerated type.

 17.7.18 MBMS-User-Data-Mode-Indication AVP
 The MBMS-User-Data-Mode-Indication AVP (AVP code 915) is of type Enumerated. The meaning of the message containing this AVP depends on the sending entity. The absence of this AVP indicates unicast mode of operation.
 
 The following values are supported:
 Unicast (0)
   When BM-SC sends this value, that indicates to GGSN that BM-SC supports only unicast mode (IP multicast packets encapsulated by IP unicast header).
   When GGSN sends this value, that indicates to BM-SC that BM-SC shall send user plane data with unicast mode (IP multicast packets encapsulated by IP unicast header).
 Multicast and Unicast (1)
   When BM-SC sends this value, that indicates to GGSN that BM-SC supports both modes of operation.
   When GGSN sends this value, that indicates to BM-SC that BM-SC shall send user plane data with multicast mode.
 

Author:
Alexandre Mendonca , Bartosz Baranowski

Enum Constant Summary
MULTICAST_AND_UNICAST
           
UNICAST
           
 
Method Summary
static MbmsUserDataModeIndication fromInt(int type)
           
 int getValue()
           
static MbmsUserDataModeIndication valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MbmsUserDataModeIndication[] 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

UNICAST

public static final MbmsUserDataModeIndication UNICAST

MULTICAST_AND_UNICAST

public static final MbmsUserDataModeIndication MULTICAST_AND_UNICAST
Method Detail

values

public static MbmsUserDataModeIndication[] 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 (MbmsUserDataModeIndication c : MbmsUserDataModeIndication.values())
    System.out.println(c);

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

valueOf

public static MbmsUserDataModeIndication 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

getValue

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

fromInt

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


Copyright © 2011. All Rights Reserved.