|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ERpcRequest>
eneter.messaging.endpoints.rpc.ERpcRequest
public enum ERpcRequest
Internal commands for interaction via RPC.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic int geValue()
public static ERpcRequest fromInt(int i)
i
- value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |