Package | Description |
---|---|
com.dukascopy.api |
Modifier and Type | Method and Description |
---|---|
IOrder.State |
IOrder.getState()
Returns current
IOrder.State of the order |
static IOrder.State |
IOrder.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOrder.State[] |
IOrder.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
IMessage |
IOrder.waitForUpdate(IOrder.State... states)
Blocks strategy thread (with exception of
IStrategy.onMessage(IMessage) ) until the order changes it's state value to one of the expected states. |
IMessage |
IOrder.waitForUpdate(long timeoutMills,
IOrder.State... states)
Blocks strategy thread (with exception of
IStrategy.onMessage(IMessage) ) until the order changes it's state value to one of the expected states. |
IMessage |
IOrder.waitForUpdate(long timeout,
TimeUnit unit,
IOrder.State... states)
Blocks strategy thread (with exception of
IStrategy.onMessage(IMessage) ) until the order changes it's state value to one of the expected states. |
Copyright © 2016. All rights reserved.