net.java.slee.resource.diameter.rf.events.avp
Enum MbmsServiceType

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

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

Java class to represent the MBMS-Service-Type enumerated type.

 17.7.9 MBMS-Service-Type AVP
 
 The MBMS-Service-Type AVP (AVP code 906) is of type Enumerated, and contains explicit information about the type of service that the BM-SC Start Procedure is about to start.
 
 MULTICAST (0)
   The Start Procedure signalled by the BM-SC is for a Multicast Service.
 BROADCAST (1)
   The Start Procedure signalled by the BM-SC is for a Broadcast Service.
 

Author:
Alexandre Mendonca , Bartosz Baranowski

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

MULTICAST

public static final MbmsServiceType MULTICAST

BROADCAST

public static final MbmsServiceType BROADCAST
Method Detail

values

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

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

valueOf

public static MbmsServiceType 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 MbmsServiceType fromInt(int type)
                               throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright © 2011. All Rights Reserved.