public enum SurveyMessageResponseType extends java.lang.Enum<SurveyMessageResponseType> implements XdrElement
enum SurveyMessageResponseType { SURVEY_TOPOLOGY_RESPONSE_V2 = 2 };
Enum Constant and Description |
---|
SURVEY_TOPOLOGY_RESPONSE_V2 |
Modifier and Type | Method and Description |
---|---|
static SurveyMessageResponseType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static SurveyMessageResponseType |
fromXdrBase64(java.lang.String xdr) |
static SurveyMessageResponseType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static SurveyMessageResponseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SurveyMessageResponseType[] |
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 SurveyMessageResponseType SURVEY_TOPOLOGY_RESPONSE_V2
public static SurveyMessageResponseType[] values()
for (SurveyMessageResponseType c : SurveyMessageResponseType.values()) System.out.println(c);
public static SurveyMessageResponseType 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 SurveyMessageResponseType 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 SurveyMessageResponseType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SurveyMessageResponseType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException