Package com.wombat.mamda.orderbook
Class MamdaOrderBookConcreteSimpleDelta
- java.lang.Object
-
- com.wombat.mamda.orderbook.MamdaOrderBookBasicDelta
-
- com.wombat.mamda.orderbook.MamdaOrderBookSimpleDelta
-
- com.wombat.mamda.orderbook.MamdaOrderBookConcreteSimpleDelta
-
- All Implemented Interfaces:
MamdaBasicEvent
public class MamdaOrderBookConcreteSimpleDelta extends MamdaOrderBookSimpleDelta
MamdaOrderBookConcreteSimpleDelta is a class that saves information about a simple order book delta. A simple delta is one that affects a single order book entry.
-
-
Constructor Summary
Constructors Constructor Description MamdaOrderBookConcreteSimpleDelta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.wombat.mama.MamaDateTimegetActivityTime()shortgetActivityTimeFieldState()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 updatedlonggetEventSeqNum()shortgetEventSeqNumFieldState()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.MamaDateTimegetEventTime()shortgetEventTimeFieldState()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.MamaDateTimegetSrcTime()shortgetSrcTimeFieldState()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 updatedvoidsetActivityTime(com.wombat.mama.MamaDateTime activityTime)voidsetEventSeqNum(long eventSeqNum)voidsetEventTime(com.wombat.mama.MamaDateTime eventTime)voidsetSrcTime(com.wombat.mama.MamaDateTime srcTime)-
Methods inherited from class com.wombat.mamda.orderbook.MamdaOrderBookBasicDelta
clear, dump, dump, getEntry, getEntryDeltaAction, getOrderBook, getPlDeltaAction, getPlDeltaSize, getPriceLevel, set, setPlDeltaAction, setPriceLevel
-
-
-
-
Method Detail
-
getSrcTime
public 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
public short getSrcTimeFieldState()
Description copied from interface:MamdaBasicEventreturn 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
-
setSrcTime
public void setSrcTime(com.wombat.mama.MamaDateTime srcTime)
-
getActivityTime
public com.wombat.mama.MamaDateTime getActivityTime()
- Returns:
- Activity time. A feed handler generated time stamp representing when the data item was last updated.
-
getActivityTimeFieldState
public short getActivityTimeFieldState()
Description copied from interface:MamdaBasicEventreturn 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
-
setActivityTime
public void setActivityTime(com.wombat.mama.MamaDateTime activityTime)
-
getEventTime
public 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
public short getEventTimeFieldState()
Description copied from interface:MamdaBasicEventreturn 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
-
setEventTime
public void setEventTime(com.wombat.mama.MamaDateTime eventTime)
-
getEventSeqNum
public long getEventSeqNum()
- Returns:
- Source sequence number. The exchange generated sequence number.
-
getEventSeqNumFieldState
public short getEventSeqNumFieldState()
Description copied from interface:MamdaBasicEventreturn 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
-
setEventSeqNum
public void setEventSeqNum(long eventSeqNum)
-
-