public static enum ProtocolMessages.Response extends java.lang.Enum<ProtocolMessages.Response>
Enum Constant and Description |
---|
GENERIC_EXCEPTION
GENERIC_EXCEPTION
|
OK_SERIALIZABLE
OK_SERIALIZABLE
|
OK_VOID
OK_VOID
|
WORK_EXCEPTION
WORK_EXCEPTION
|
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfParameter()
Get the numberOfParameter.
|
java.lang.Class<?>[] |
getTypeOfParameters()
Get the typeOfParameters.
|
static ProtocolMessages.Response |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolMessages.Response[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolMessages.Response OK_VOID
public static final ProtocolMessages.Response OK_SERIALIZABLE
public static final ProtocolMessages.Response WORK_EXCEPTION
public static final ProtocolMessages.Response GENERIC_EXCEPTION
public static ProtocolMessages.Response[] values()
for (ProtocolMessages.Response c : ProtocolMessages.Response.values()) System.out.println(c);
public static ProtocolMessages.Response 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 getNumberOfParameter()
public java.lang.Class<?>[] getTypeOfParameters()
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)