public enum GSMSpecificFeature extends Enum<GSMSpecificFeature>
Enum Constant and Description |
---|
DEFAULT |
REPLYPATH
Reply path.
|
UDHI
User data header indicator.
|
UDHI_REPLYPATH
User data header indicator and Reply path.
|
Modifier and Type | Field and Description |
---|---|
static byte |
CLEAR_BYTE |
static byte |
MASK_BYTE |
Modifier and Type | Method and Description |
---|---|
static byte |
clear(byte esmClass)
Clear the bit 0 - 6.
|
static byte |
compose(byte esmClass,
GSMSpecificFeature specificFeature)
Compose the existing ESM class with the GSM specific feature.
|
boolean |
containedIn(byte esmClass)
Check the GSM Specific Feature is contained in ESM class value.
|
boolean |
containedIn(ESMClass esmClass)
Check the GSM Specific Feature is contained in ESM class value.
|
byte |
value() |
static GSMSpecificFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GSMSpecificFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GSMSpecificFeature DEFAULT
public static final GSMSpecificFeature UDHI
public static final GSMSpecificFeature REPLYPATH
public static final GSMSpecificFeature UDHI_REPLYPATH
public static final byte CLEAR_BYTE
public static final byte MASK_BYTE
public static GSMSpecificFeature[] values()
for (GSMSpecificFeature c : GSMSpecificFeature.values()) System.out.println(c);
public static GSMSpecificFeature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte value()
public boolean containedIn(ESMClass esmClass)
esmClass
- is the ESM class.public boolean containedIn(byte esmClass)
esmClass
- is the ESM class.public static byte compose(byte esmClass, GSMSpecificFeature specificFeature)
esmClass
- is the existing ESM class.specificFeature
- the GSM specific feature.public static byte clear(byte esmClass)
esmClass
- is the ESM class value.