Package velox.api.layer1.messages
Enum Class Layer1ApiTradingMessageWithCallback.Response
java.lang.Object
java.lang.Enum<Layer1ApiTradingMessageWithCallback.Response>
velox.api.layer1.messages.Layer1ApiTradingMessageWithCallback.Response
- All Implemented Interfaces:
Serializable,Comparable<Layer1ApiTradingMessageWithCallback.Response>,Constable
- Enclosing class:
Layer1ApiTradingMessageWithCallback
public static enum Layer1ApiTradingMessageWithCallback.Response
extends Enum<Layer1ApiTradingMessageWithCallback.Response>
The response, which can be received via
Layer1ApiTradingMessageWithCallback.TradingMessageResponseListener-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe changes were rejected for other reasonsThe user rejected the changes requested by this messageThe instrument is not visible in the main window or in separate windows.The message was processed, but the state didn't changeThe message was successfully processedTrading cannot be enabled for this instrumentTrading is disabled for this instrument -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
The message was successfully processed -
STATE_WAS_NOT_CHANGED
The message was processed, but the state didn't change -
ACTION_REJECTED_BY_USER
The user rejected the changes requested by this message -
INSTRUMENT_NOT_OPEN
The instrument is not visible in the main window or in separate windows. Changes can be made to the visible instrument -
TRADING_IS_DISABLED
Trading is disabled for this instrument -
TRADING_CANNOT_BE_ENABLED
Trading cannot be enabled for this instrument -
ACTION_REJECTED
The changes were rejected for other reasons
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-