|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<InterfaceVersion>
org.jsmpp.bean.InterfaceVersion
public enum InterfaceVersion
Enum represent the interface version of SMPP.
| Enum Constant Summary | |
|---|---|
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 |
|
| Field Summary | |
|---|---|
private byte |
value
|
| Method Summary | |
|---|---|
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(java.lang.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. |
| 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 |
|---|
public static final InterfaceVersion IF_33
public static final InterfaceVersion IF_34
public static final InterfaceVersion IF_50
| Field Detail |
|---|
private byte value
| Method Detail |
|---|
public static InterfaceVersion[] values()
for (InterfaceVersion c : InterfaceVersion.values()) System.out.println(c);
public static InterfaceVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic byte value()
public static InterfaceVersion valueOf(byte value)
throws java.lang.IllegalArgumentException
value - is the value associated by the enum constant.
java.lang.IllegalArgumentException - if there is InterfaceVersion
associated with specified value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||