public interface InvalidTransitionEvent
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Gets the error message relating to the invalid state transition attempt.
|
java.lang.String |
getStateName()
Gets the state that the trade was in when the invalid event was received.
|
Trade |
getTrade()
Gets the
Trade object to which this InvalidTransitionEvent relates. |
TradeEvent |
getTradeEvent()
Gets the
TradeEvent that was invalid. |
Trade getTrade()
Trade
object to which this InvalidTransitionEvent relates.
As long as your code executes on the thread in which TradeListener.receiveInvalidTransitionEvent(InvalidTransitionEvent)
was called, the Trade's fields will not be updated by subsequent events, though its state may change.Trade
object.TradeEvent getTradeEvent()
TradeEvent
that was invalid.TradeEvent
.java.lang.String getStateName()
Trade
state.java.lang.String getMessage()
Please send bug reports and comments to Caplin support