public enum RLPMessages extends Enum<RLPMessages> implements Messages.Entry
Enum Constant and Description |
---|
BAD_DATAGRAM |
DATAGRAM_TOO_SHORT |
RECEIVED_MESSAGE |
SENT_MESSAGE |
UNKNOWN_MESSAGE_TYPE |
UNKNOWN_PROTOCOL |
Modifier and Type | Method and Description |
---|---|
String |
getBundleName()
Gets the messages resource bundle name.
|
String |
toString() |
static RLPMessages |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RLPMessages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
name
public static final RLPMessages BAD_DATAGRAM
public static final RLPMessages DATAGRAM_TOO_SHORT
public static final RLPMessages RECEIVED_MESSAGE
public static final RLPMessages SENT_MESSAGE
public static final RLPMessages UNKNOWN_MESSAGE_TYPE
public static final RLPMessages UNKNOWN_PROTOCOL
public static RLPMessages[] values()
for (RLPMessages c : RLPMessages.values()) System.out.println(c);
public static RLPMessages 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 String getBundleName()
getBundleName
in interface Messages.Entry
public String toString()
toString
in class Enum<RLPMessages>
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.