public enum SurveyMessageCommandType extends java.lang.Enum<SurveyMessageCommandType> implements XdrElement
enum SurveyMessageCommandType { TIME_SLICED_SURVEY_TOPOLOGY = 1 };
Enum Constant and Description |
---|
TIME_SLICED_SURVEY_TOPOLOGY |
Modifier and Type | Method and Description |
---|---|
static SurveyMessageCommandType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static SurveyMessageCommandType |
fromXdrBase64(java.lang.String xdr) |
static SurveyMessageCommandType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static SurveyMessageCommandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SurveyMessageCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toXdrBase64, toXdrByteArray
public static final SurveyMessageCommandType TIME_SLICED_SURVEY_TOPOLOGY
public static SurveyMessageCommandType[] values()
for (SurveyMessageCommandType c : SurveyMessageCommandType.values()) System.out.println(c);
public static SurveyMessageCommandType 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 namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static SurveyMessageCommandType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SurveyMessageCommandType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SurveyMessageCommandType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException