Package sk.ipesoft.d2000.d2japi
Enum RPCConversationFlag
- java.lang.Object
-
- java.lang.Enum<RPCConversationFlag>
-
- sk.ipesoft.d2000.d2japi.RPCConversationFlag
-
- All Implemented Interfaces:
sk.ipesoft.d2000.utils.IMaskedEnum<RPCConversationFlag>
public enum RPCConversationFlag extends java.lang.Enum<RPCConversationFlag> implements sk.ipesoft.d2000.utils.IMaskedEnum<RPCConversationFlag>
Indicator of RPC conversation state
-
-
Enum Constant Summary
Enum Constants Enum Constant Description begin
Initiating message for standard two-way RPC conversation.beginBatch
Initiating message that enables only initiator to send batch of messages to the target.beginEnd
Initiating message that closes RPC conversation from initiator's side immediately.end
Closes RPC conversation from senders side.intermediate
Marks standard message of continuing RPC conversations.
-
Field Summary
Fields Modifier and Type Field Description static sk.ipesoft.d2000.utils.MaskedEnumTypeProxy<RPCConversationFlag>
typeProxy
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMask()
static RPCConversationFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RPCConversationFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
begin
public static final RPCConversationFlag begin
Initiating message for standard two-way RPC conversation.
-
beginEnd
public static final RPCConversationFlag beginEnd
Initiating message that closes RPC conversation from initiator's side immediately.
-
beginBatch
public static final RPCConversationFlag beginBatch
Initiating message that enables only initiator to send batch of messages to the target.
-
intermediate
public static final RPCConversationFlag intermediate
Marks standard message of continuing RPC conversations.
-
end
public static final RPCConversationFlag end
Closes RPC conversation from senders side.
-
-
Field Detail
-
typeProxy
public static final sk.ipesoft.d2000.utils.MaskedEnumTypeProxy<RPCConversationFlag> typeProxy
-
-
Method Detail
-
values
public static RPCConversationFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RPCConversationFlag c : RPCConversationFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RPCConversationFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMask
public int getMask()
- Specified by:
getMask
in interfacesk.ipesoft.d2000.utils.IMaskedEnum<RPCConversationFlag>
-
-