public enum InterfaceVersion extends Enum<InterfaceVersion>
| Enum Constant and Description |
|---|
IF_33
Interface Version for SMPP version 3.3.
|
IF_34
Interface Version for SMPP version 3.4.
|
IF_50
Interface Version for SMPP version 5.0
|
| Modifier and Type | Method and Description |
|---|---|
byte |
value()
Get the value of interface version as defined on SMPP spesification.
|
static InterfaceVersion |
valueOf(byte value)
Get the InterfaceVersion by specified value.
|
static InterfaceVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterfaceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterfaceVersion IF_33
public static final InterfaceVersion IF_34
public static final InterfaceVersion IF_50
public static InterfaceVersion[] values()
for (InterfaceVersion c : InterfaceVersion.values()) System.out.println(c);
public static InterfaceVersion 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 static InterfaceVersion valueOf(byte value) throws IllegalArgumentException
value - is the value associated by the enum constant.IllegalArgumentException - if there is InterfaceVersion
associated with specified value.