Package com.wombat.mamda
Interface MamdaBasicEvent
-
- All Known Subinterfaces:
MamdaAuctionUpdate
,MamdaBookAtomicGap
,MamdaOptionSeriesUpdate
,MamdaOrderBookClear
,MamdaOrderBookDelta
,MamdaOrderBookGap
,MamdaOrderImbalanceUpdate
,MamdaQuoteClosing
,MamdaQuoteGap
,MamdaQuoteUpdate
,MamdaSecurityStatusUpdate
,MamdaTradeCancelOrError
,MamdaTradeClosing
,MamdaTradeCorrection
,MamdaTradeGap
,MamdaTradeReport
- All Known Implementing Classes:
MamdaAuctionListener
,MamdaBookAtomicListener
,MamdaConcreteBasicEvent
,MamdaOptionChainListener
,MamdaOrderBookComplexDelta
,MamdaOrderBookConcreteClear
,MamdaOrderbookConcreteComplexDelta
,MamdaOrderBookConcreteRecap
,MamdaOrderBookConcreteSimpleDelta
,MamdaOrderBookListener
,MamdaOrderBookSimpleDelta
,MamdaOrderImbalanceListener
,MamdaQuoteListener
,MamdaSecurityStatusListener
,MamdaTradeListener
public interface MamdaBasicEvent
MamdaBasicEvent is a superclass interface that provides access to common event related fields. Events types include trades, quotes, order book updates, closing summaries, etc. See the individual subclasses for specific information about each event type. Note: Different types of time stamps are available representing the time that the event (trade, quote, etc) actually occurred, the time the data source/exchange reported it, and the time the feed handler applied an action to the given data item (record, order book, etc.). Many feeds to not provide a distinction between the event time and the source time (they may be the same) and the granularity of time stamps also varies between data sources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.wombat.mama.MamaDateTime
getActivityTime()
short
getActivityTimeFieldState()
return Activity time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updatedlong
getEventSeqNum()
short
getEventSeqNumFieldState()
return source sequence number Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updatedcom.wombat.mama.MamaDateTime
getEventTime()
short
getEventTimeFieldState()
return event time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updatedcom.wombat.mama.MamaDateTime
getSrcTime()
short
getSrcTimeFieldState()
return Source time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated
-
-
-
Method Detail
-
getSrcTime
com.wombat.mama.MamaDateTime getSrcTime()
- Returns:
- Source time. Typically, the exchange generated feed time stamp. This is often the same as the "event time", because many feeds do not distinguish between the actual event time and when the exchange sent the message.
-
getSrcTimeFieldState
short getSrcTimeFieldState()
return Source time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated
-
getActivityTime
com.wombat.mama.MamaDateTime getActivityTime()
- Returns:
- Activity time. A feed handler generated time stamp representing when the data item was last updated.
-
getActivityTimeFieldState
short getActivityTimeFieldState()
return Activity time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated
-
getEventSeqNum
long getEventSeqNum()
- Returns:
- Source sequence number. The exchange generated sequence number.
-
getEventSeqNumFieldState
short getEventSeqNumFieldState()
return source sequence number Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated
-
getEventTime
com.wombat.mama.MamaDateTime getEventTime()
- Returns:
- Event time. Typically, when the event actually occurred. This is often the same as the "source time", because many feeds do not distinguish between the actual event time and when the exchange sent the message.
-
getEventTimeFieldState
short getEventTimeFieldState()
return event time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated
-
-