de.javawi.jstun.attribute
Enum MessageAttributeInterface.MessageAttributeType
java.lang.Object
java.lang.Enum<MessageAttributeInterface.MessageAttributeType>
de.javawi.jstun.attribute.MessageAttributeInterface.MessageAttributeType
- All Implemented Interfaces:
- Serializable, Comparable<MessageAttributeInterface.MessageAttributeType>
- Enclosing interface:
- MessageAttributeInterface
public static enum MessageAttributeInterface.MessageAttributeType
- extends Enum<MessageAttributeInterface.MessageAttributeType>
MappedAddress
public static final MessageAttributeInterface.MessageAttributeType MappedAddress
ResponseAddress
public static final MessageAttributeInterface.MessageAttributeType ResponseAddress
ChangeRequest
public static final MessageAttributeInterface.MessageAttributeType ChangeRequest
SourceAddress
public static final MessageAttributeInterface.MessageAttributeType SourceAddress
ChangedAddress
public static final MessageAttributeInterface.MessageAttributeType ChangedAddress
Username
public static final MessageAttributeInterface.MessageAttributeType Username
Password
public static final MessageAttributeInterface.MessageAttributeType Password
MessageIntegrity
public static final MessageAttributeInterface.MessageAttributeType MessageIntegrity
ErrorCode
public static final MessageAttributeInterface.MessageAttributeType ErrorCode
UnknownAttribute
public static final MessageAttributeInterface.MessageAttributeType UnknownAttribute
ReflectedFrom
public static final MessageAttributeInterface.MessageAttributeType ReflectedFrom
Dummy
public static final MessageAttributeInterface.MessageAttributeType Dummy
values
public static MessageAttributeInterface.MessageAttributeType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MessageAttributeInterface.MessageAttributeType c : MessageAttributeInterface.MessageAttributeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MessageAttributeInterface.MessageAttributeType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null