|
||||||||||
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.server.kerberos.shared.messages.value.types.HostAddrType
public enum HostAddrType
Host Address type. Theyare 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 | |
---|---|
int |
getOrdinal()
Returns the number associated with this host address type. |
static HostAddrType |
getTypeByOrdinal(int type)
Returns the host address type when specified by its ordinal. |
java.lang.String |
toString()
|
static HostAddrType |
valueOf(java.lang.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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, 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 final HostAddrType[] values()
for(HostAddrType c : HostAddrType.values()) System.out.println(c);
public static HostAddrType 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 namepublic static HostAddrType getTypeByOrdinal(int type)
type
-
public int getOrdinal()
public java.lang.String toString()
toString
in class java.lang.Enum<HostAddrType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |