Enum DeepMessageType
- java.lang.Object
-
- java.lang.Enum<DeepMessageType>
-
- pl.zankowski.iextrading4j.client.socket.request.marketdata.deep.DeepMessageType
-
- All Implemented Interfaces:
Serializable
,Comparable<DeepMessageType>
public enum DeepMessageType extends Enum<DeepMessageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUCTION
BOOK
OP_HALT_STATUS
SECURITY_EVENT
SSR_STATUS
SYSTEM_EVENT
TRADE_BREAK
TRADES
TRADING_STATUS
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeepMessageType
getMessageType(String name)
String
getName()
static DeepMessageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeepMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRADING_STATUS
public static final DeepMessageType TRADING_STATUS
-
AUCTION
public static final DeepMessageType AUCTION
-
OP_HALT_STATUS
public static final DeepMessageType OP_HALT_STATUS
-
SSR_STATUS
public static final DeepMessageType SSR_STATUS
-
SECURITY_EVENT
public static final DeepMessageType SECURITY_EVENT
-
TRADE_BREAK
public static final DeepMessageType TRADE_BREAK
-
TRADES
public static final DeepMessageType TRADES
-
BOOK
public static final DeepMessageType BOOK
-
SYSTEM_EVENT
public static final DeepMessageType SYSTEM_EVENT
-
UNKNOWN
public static final DeepMessageType UNKNOWN
-
-
Method Detail
-
values
public static DeepMessageType[] 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 (DeepMessageType c : DeepMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeepMessageType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String getName()
-
getMessageType
public static DeepMessageType getMessageType(String name)
-
-