|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IMessage.Type>
com.dukascopy.api.IMessage.Type
public static enum IMessage.Type
Type of the message
Enum Constant Summary | |
---|---|
NEWS
Market news |
|
NOTIFICATION
Notifications from server or events in the system like disconnect |
|
ORDER_CHANGED_OK
Sent after successful orders change |
|
ORDER_CHANGED_REJECTED
Sent if orders change was rejected by the server |
|
ORDER_CLOSE_OK
Sent after successful order closing |
|
ORDER_CLOSE_REJECTED
Sent if order close request was rejected |
|
ORDER_FILL_OK
Sent after successful order filling |
|
ORDER_FILL_REJECTED
Sent if server rejected order fill execution. |
|
ORDER_SUBMIT_OK
Sent after order submission was accepted by the server |
|
ORDER_SUBMIT_REJECTED
Sent when order was rejected |
|
ORDERS_MERGE_OK
Sent after successful orders merge |
|
ORDERS_MERGE_REJECTED
Sent if orders merge was rejected by the server |
Method Summary | |
---|---|
static IMessage.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IMessage.Type[] |
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 IMessage.Type NEWS
public static final IMessage.Type NOTIFICATION
public static final IMessage.Type ORDER_SUBMIT_REJECTED
public static final IMessage.Type ORDER_SUBMIT_OK
public static final IMessage.Type ORDER_FILL_REJECTED
public static final IMessage.Type ORDER_CLOSE_REJECTED
public static final IMessage.Type ORDER_CLOSE_OK
public static final IMessage.Type ORDER_FILL_OK
public static final IMessage.Type ORDERS_MERGE_OK
public static final IMessage.Type ORDERS_MERGE_REJECTED
public static final IMessage.Type ORDER_CHANGED_OK
public static final IMessage.Type ORDER_CHANGED_REJECTED
Method Detail |
---|
public static IMessage.Type[] values()
for (IMessage.Type c : IMessage.Type.values()) System.out.println(c);
public static IMessage.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |