Package com.wombat.mamda.options
Interface MamdaOptionSeriesUpdate
-
- All Superinterfaces:
MamdaBasicEvent
- All Known Implementing Classes:
MamdaOptionChainListener
public interface MamdaOptionSeriesUpdate extends MamdaBasicEvent
MamdaOptionSeriesUpdate is an interface that provides access to fields related to option series update events. Update events include adds/removes of contracts to the chain.
-
-
Field Summary
Fields Modifier and Type Field Description static char
ACTION_ADD
static char
ACTION_DELETE
static char
ACTION_UNKNOWN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description char
getOptionAction()
Get the most recent action.MamdaOptionContract
getOptionContract()
Get the option contract to which the most recent event applies.-
Methods inherited from interface com.wombat.mamda.MamdaBasicEvent
getActivityTime, getActivityTimeFieldState, getEventSeqNum, getEventSeqNumFieldState, getEventTime, getEventTimeFieldState, getSrcTime, getSrcTimeFieldState
-
-
-
-
Field Detail
-
ACTION_UNKNOWN
static final char ACTION_UNKNOWN
- See Also:
- Constant Field Values
-
ACTION_ADD
static final char ACTION_ADD
- See Also:
- Constant Field Values
-
ACTION_DELETE
static final char ACTION_DELETE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOptionContract
MamdaOptionContract getOptionContract()
Get the option contract to which the most recent event applies.- Returns:
- The option contract to which the most recent event applies. If the contract is new, it will have already been added to the chain. If it is being removed, it will have already been removed from the chain.
-
getOptionAction
char getOptionAction()
Get the most recent action.- Returns:
- The action related to the last series update message.
-
-