|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HostAddrType>
org.apache.directory.shared.kerberos.codec.types.HostAddrType
public enum HostAddrType
Host Address type. They are described in RFC 4120, chap. 7.5.3. Only a few of them are declared : Address Type Value IPv4 2 Directional 3 ChaosNet 5 XNS 6 ISO 7 DECNET Phase IV 12 AppleTalk DDP 16 NetBios 20 IPv6 24 The other address types are simply ignored. They are part of a Unix include file.
| Enum Constant Summary | |
|---|---|
ADDRTYPE_APPLETALK
Constant for the "AppleTalk" host address type. |
|
ADDRTYPE_CHAOS
Constant for the "CHAOS" host address type. |
|
ADDRTYPE_DECNET
Constant for the "DECnet" host address type. |
|
ADDRTYPE_IMPLINK
Constant for the "Arpanet" host address type. |
|
ADDRTYPE_INET
Constant for the "Internet" host address type. |
|
ADDRTYPE_INET6
Constant for the "Internet Protocol V6" host address type. |
|
ADDRTYPE_NETBIOS
Constant for the "NetBios" host address type. |
|
ADDRTYPE_OSI
Constant for the "OSI" host address type. |
|
ADDRTYPE_XNS
Constant for the "XEROX Network Services" host address type. |
|
NULL
Constant for the "null" host address type. |
|
| Method Summary | |
|---|---|
static HostAddrType |
getTypeByOrdinal(int type)
Returns the host address type when specified by its ordinal. |
int |
getValue()
Returns the number associated with this host address type. |
String |
toString()
|
static HostAddrType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HostAddrType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final HostAddrType NULL
public static final HostAddrType ADDRTYPE_INET
public static final HostAddrType ADDRTYPE_IMPLINK
public static final HostAddrType ADDRTYPE_CHAOS
public static final HostAddrType ADDRTYPE_XNS
public static final HostAddrType ADDRTYPE_OSI
public static final HostAddrType ADDRTYPE_DECNET
public static final HostAddrType ADDRTYPE_APPLETALK
public static final HostAddrType ADDRTYPE_NETBIOS
public static final HostAddrType ADDRTYPE_INET6
| Method Detail |
|---|
public static HostAddrType[] values()
for (HostAddrType c : HostAddrType.values()) System.out.println(c);
public static HostAddrType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static HostAddrType getTypeByOrdinal(int type)
type -
public int getValue()
public String toString()
toString in class Enum<HostAddrType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||