public static enum PppEthernet.PppProtocolId extends Enum<PppEthernet.PppProtocolId> implements ProtocolEnum
Enum Constant and Description |
---|
PPP_AT |
PPP_ATCP |
PPP_CBCP
Callback Control Protocol.
|
PPP_CCP |
PPP_CCPFRAG |
PPP_CHAP
Cryptographic Handshake Authorization Protocol.
|
PPP_COMP |
PPP_COMPFRAG |
PPP_IP
Internet Protocol.
|
PPP_IPCP |
PPP_IPV6 |
PPP_IPV6CP |
PPP_IPX |
PPP_IPXCP |
PPP_LCP |
PPP_LQR |
PPP_MP |
PPP_MPLS_MC |
PPP_MPLS_UC |
PPP_MPLSCP |
PPP_PAP |
PPP_VJC_COMP |
PPP_VJC_UNCOMP |
Modifier and Type | Method and Description |
---|---|
int |
code()
Returns the code value for the enumeration constant.
|
static PppEthernet.PppProtocolId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PppEthernet.PppProtocolId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PppEthernet.PppProtocolId PPP_IP
public static final PppEthernet.PppProtocolId PPP_AT
public static final PppEthernet.PppProtocolId PPP_IPX
public static final PppEthernet.PppProtocolId PPP_VJC_COMP
public static final PppEthernet.PppProtocolId PPP_VJC_UNCOMP
public static final PppEthernet.PppProtocolId PPP_MP
public static final PppEthernet.PppProtocolId PPP_IPV6
public static final PppEthernet.PppProtocolId PPP_COMPFRAG
public static final PppEthernet.PppProtocolId PPP_COMP
public static final PppEthernet.PppProtocolId PPP_MPLS_UC
public static final PppEthernet.PppProtocolId PPP_MPLS_MC
public static final PppEthernet.PppProtocolId PPP_IPCP
public static final PppEthernet.PppProtocolId PPP_ATCP
public static final PppEthernet.PppProtocolId PPP_IPXCP
public static final PppEthernet.PppProtocolId PPP_IPV6CP
public static final PppEthernet.PppProtocolId PPP_CCPFRAG
public static final PppEthernet.PppProtocolId PPP_CCP
public static final PppEthernet.PppProtocolId PPP_MPLSCP
public static final PppEthernet.PppProtocolId PPP_LCP
public static final PppEthernet.PppProtocolId PPP_PAP
public static final PppEthernet.PppProtocolId PPP_LQR
public static final PppEthernet.PppProtocolId PPP_CHAP
public static final PppEthernet.PppProtocolId PPP_CBCP
public static PppEthernet.PppProtocolId[] values()
for (PppEthernet.PppProtocolId c : PppEthernet.PppProtocolId.values()) System.out.println(c);
public static PppEthernet.PppProtocolId 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 int code()
ProtocolEnum
code
in interface ProtocolEnum
Copyright © 2015. All Rights Reserved.