public enum ERpcRequest extends java.lang.Enum<ERpcRequest>
Enum Constant and Description |
---|
InvokeMethod
Client invokes a method.
|
RaiseEvent
Service raises an event.
|
Response
RPC service sends back a response for 'InvokeMethod', 'SubscribeEvent' or 'UnsubscribeEvent'.
|
SubscribeEvent
Client subscribes an event.
|
UnsubscribeEvent
Client unsubscribes an event.
|
Modifier and Type | Method and Description |
---|---|
static ERpcRequest |
fromInt(int i)
Converts integer value to the enum.
|
int |
geValue()
Converts enum to the integer value.
|
static ERpcRequest |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ERpcRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ERpcRequest InvokeMethod
public static final ERpcRequest SubscribeEvent
public static final ERpcRequest UnsubscribeEvent
public static final ERpcRequest RaiseEvent
public static final ERpcRequest Response
public static ERpcRequest[] values()
for (ERpcRequest c : ERpcRequest.values()) System.out.println(c);
public static ERpcRequest 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 geValue()
public static ERpcRequest fromInt(int i)
i
- value