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.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 updatedvoid
setActivityTime(com.wombat.mama.MamaDateTime activityTime)
void
setEventSeqNum(long eventSeqNum)
void
setEventTime(com.wombat.mama.MamaDateTime eventTime)
void
setSrcTime(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:MamdaBasicEvent
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
-
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:MamdaBasicEvent
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
-
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:MamdaBasicEvent
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
-
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:MamdaBasicEvent
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
-
setEventSeqNum
public void setEventSeqNum(long eventSeqNum)
-
-