public enum EMessageBusRequest extends java.lang.Enum<EMessageBusRequest>
Enum Constant and Description |
---|
ConfirmClient
Used by service when it confirms the client was connected.
|
ConnectClient
Used by client when connecting the service via the message bus.
|
DisconnectClient
Used by service when it wants to disconnect a particular client.
|
RegisterService
Used by service when registering to the message bus.
|
SendRequestMessage
Used by client when sending a message to the service.
|
SendResponseMessage
Used by service when sending message to the client.
|
Modifier and Type | Method and Description |
---|---|
static EMessageBusRequest |
fromInt(int i)
Converts integer value to the enum.
|
int |
geValue()
Converts enum to the integer value.
|
static EMessageBusRequest |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EMessageBusRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EMessageBusRequest RegisterService
public static final EMessageBusRequest ConnectClient
public static final EMessageBusRequest DisconnectClient
public static final EMessageBusRequest ConfirmClient
public static final EMessageBusRequest SendRequestMessage
public static final EMessageBusRequest SendResponseMessage
public static EMessageBusRequest[] values()
for (EMessageBusRequest c : EMessageBusRequest.values()) System.out.println(c);
public static EMessageBusRequest 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 EMessageBusRequest fromInt(int i)
i
- value